blob: f685baaade7d6a68aa1e07b70c555eefe1dc45dc [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<title>video-as-img-output-pts</title>
<script src="video-test.js"></script>
<script>
window.addEventListener('load', async event => {
consoleWrite('Tests that an &lt;img&gt; with a .mp4 source where that .mp4 has an edit list will correctly decode.')
try {
let img = new Image();
img.src = 'content/video-as-img.mp4';
await shouldResolve(img.decode());
endTest();
} catch (e) {
failTest(`Caught exception ${ e }`);
}
});
</script>
</head>
</html>