layout/reftests/webm-video/bug686957.html
author Updatebot <updatebot@mozilla.com>
Sat, 19 Jul 2025 21:32:42 +0000 (18 hours ago)
changeset 797266 df2495d1668868c4b99f85c68babc03a0f426bd1
parent 214540 2bbc2a4de96d50c43a19dcb38e44391f4da9e45a
permissions -rw-r--r--
Bug 1978202 - Update android nightly application-services version bump to 2437c1c11b2c91a3036c812ebd81f4b5fd0d91d3 r=release-managers,diannaS Differential Revision: https://phabricator.services.mozilla.com/D257923
<!DOCTYPE HTML>
<html class="reftest-wait">
<body style="background:white;">
<!--
    Test that if we seek to the end of a video we get the last frame displayed

    The 15ms timeout is here to work around the screenshot racing with
    video frames being asynchronously delivered to the screen. If the test fails
    intermittently again, we may need to tweak the timeout value.
-->
<video src="frames.webm"
       preload="auto"
       id="v"
       onloadeddata="document.getElementById('v').currentTime=document.getElementById('v').duration"
       onseeked="setTimeout(function(){document.documentElement.className = '';}, 1000);"
</video>
</body>
</html>