mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-17 15:25:52 +00:00
Bug 459443 follow-up: tweak reftest so that it doesn't fail randomly (no code changes). r=bz
This commit is contained in:
parent
00ae6eea4f
commit
964e50606a
@ -13,7 +13,11 @@
|
|||||||
f.document.designMode='on';
|
f.document.designMode='on';
|
||||||
f.location = 'data:text/html;charset=utf-8,<body>FAIL<script>document.body.innerHTML="PASS"<\/script>';
|
f.location = 'data:text/html;charset=utf-8,<body>FAIL<script>document.body.innerHTML="PASS"<\/script>';
|
||||||
n.addEventListener("load",
|
n.addEventListener("load",
|
||||||
function() { document.documentElement.className = ''; },
|
function() {
|
||||||
|
setTimeout(
|
||||||
|
"document.documentElement.className = ''", 0
|
||||||
|
);
|
||||||
|
},
|
||||||
false);
|
false);
|
||||||
}, 0);
|
}, 0);
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user