mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 649223 - Reftest for bug 366207 wastes two seconds, needlessly; r=bzbarsky
This commit is contained in:
parent
d3f761cbe6
commit
cd6873e3de
@ -3,7 +3,7 @@
|
||||
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
|
||||
|
||||
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
onload="setTimeout(boom, 1000)"
|
||||
onload="loaded()"
|
||||
class="reftest-wait">
|
||||
|
||||
<hbox style="display: none">
|
||||
@ -21,7 +21,10 @@
|
||||
</content>
|
||||
<implementation>
|
||||
<constructor>
|
||||
window.setTimeout(finish, 1000);
|
||||
window.setTimeout(function() {
|
||||
document.documentElement.clientHeight;
|
||||
window.setTimeout(finish, 0);
|
||||
}, 0);
|
||||
</constructor>
|
||||
</implementation>
|
||||
</binding>
|
||||
@ -29,6 +32,13 @@
|
||||
</hbox>
|
||||
|
||||
<script>
|
||||
function loaded()
|
||||
{
|
||||
setTimeout(function() {
|
||||
document.documentElement.clientHeight;
|
||||
setTimeout(boom, 0);
|
||||
}, 0);
|
||||
}
|
||||
function boom()
|
||||
{
|
||||
document.documentElement.style.MozBinding = "url('#foo')";
|
||||
|
Loading…
Reference in New Issue
Block a user