mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-03 02:25:34 +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.location = 'data:text/html;charset=utf-8,<body>FAIL<script>document.body.innerHTML="PASS"<\/script>';
|
||||
n.addEventListener("load",
|
||||
function() { document.documentElement.className = ''; },
|
||||
function() {
|
||||
setTimeout(
|
||||
"document.documentElement.className = ''", 0
|
||||
);
|
||||
},
|
||||
false);
|
||||
}, 0);
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user