2 <html class=
"reftest-wait">
3 <body style=
"background:white;">
5 Test that if we seek to the end of a video we get the last frame displayed
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.
11 <video src=
"frames.webm"
14 onloadeddata=
"document.getElementById('v').currentTime=document.getElementById('v').duration"
15 onseeked=
"setTimeout(function(){document.documentElement.className = '';}, 1000);"