bug686957.html (661B)
1 <!DOCTYPE HTML> 2 <html class="reftest-wait"> 3 <body style="background:white;"> 4 <!-- 5 Test that if we seek to the end of a video we get the last frame displayed 6 7 The 15ms timeout is here to work around the screenshot racing with 8 video frames being asynchronously delivered to the screen. If the test fails 9 intermittently again, we may need to tweak the timeout value. 10 --> 11 <video src="frames.webm" 12 preload="auto" 13 id="v" 14 onloadeddata="document.getElementById('v').currentTime=document.getElementById('v').duration" 15 onseeked="setTimeout(function(){document.documentElement.className = '';}, 1000);" 16 </video> 17 </body> 18 </html>