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:
Ehsan Akhgari 2013-03-05 09:41:27 -05:00
parent 908b1e7a08
commit e2f4dd6498

View File

@ -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>