mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 19:04:45 +00:00
Attempt to fix bug 622534 by waiting for focus on the test window before running the test
Also, remove an unneeded enablePrivilege API call!
This commit is contained in:
parent
908b1e7a08
commit
e2f4dd6498
@ -14,8 +14,6 @@ function unload()
|
||||
|
||||
function boom()
|
||||
{
|
||||
netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
|
||||
|
||||
var root = document.documentElement;
|
||||
while(root.firstChild) {
|
||||
root.removeChild(root.firstChild);
|
||||
@ -35,7 +33,9 @@ function boom()
|
||||
window.close();
|
||||
}
|
||||
|
||||
window.opener.SimpleTest.waitForFocus(boom, window);
|
||||
|
||||
</script></head>
|
||||
|
||||
<body onload="boom();" onunload="unload();"></body>
|
||||
<body onunload="unload();"></body>
|
||||
</html>
|
||||
|
Loading…
Reference in New Issue
Block a user