mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-30 12:40:25 +00:00
Bug 941587 - Intermittent TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/toolkit/components/satchel/test/browser/browser_privbrowsing_perwindowpb.js, r=ehsan
This commit is contained in:
parent
1758a70e95
commit
cfac358560
@ -14,6 +14,10 @@ function test() {
|
||||
|
||||
function doTest(aIsPrivateMode, aShouldValueExist, aWindow, aCallback) {
|
||||
aWindow.gBrowser.selectedBrowser.addEventListener("load", function onLoad() {
|
||||
if (aWindow.content.location != testURI) {
|
||||
aWindow.gBrowser.selectedBrowser.loadURI(testURI);
|
||||
return;
|
||||
}
|
||||
aWindow.gBrowser.selectedBrowser.removeEventListener("load", onLoad, true);
|
||||
|
||||
let checks = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user