mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1065827 - Use onloadeddata event for reftests. r=jwwang
This commit is contained in:
parent
462c754866
commit
5c2c5f093d
@ -5,7 +5,7 @@
|
||||
<video src="frames.webm"
|
||||
preload="auto"
|
||||
id="v"
|
||||
onloadedmetadata="document.getElementById('v').currentTime=document.getElementById('v').duration-1.0;document.getElementById('v').play();"
|
||||
onloadeddata="document.getElementById('v').currentTime=document.getElementById('v').duration-1.0;document.getElementById('v').play();"
|
||||
onended="setTimeout(function(){document.documentElement.className = '';}, 0);"
|
||||
</video>
|
||||
</body>
|
||||
|
@ -11,7 +11,7 @@
|
||||
<video src="frames.webm"
|
||||
preload="auto"
|
||||
id="v"
|
||||
onloadedmetadata="document.getElementById('v').currentTime=document.getElementById('v').duration"
|
||||
onloadeddata="document.getElementById('v').currentTime=document.getElementById('v').duration"
|
||||
onseeked="setTimeout(function(){document.documentElement.className = '';}, 1000);"
|
||||
</video>
|
||||
</body>
|
||||
|
Loading…
Reference in New Issue
Block a user