From bd84c35ab897577cf3b8dcbaf62260a9fc12c99e Mon Sep 17 00:00:00 2001 From: Ehsan Akhgari Date: Sun, 2 Dec 2012 19:05:50 -0500 Subject: [PATCH] Bug 806690 - Cancel the current browser load to make sure that we don't catch unexpected load events for about:home; shoulder-r=jdm DONTBUILD since this in NPOTB for global PB builds --- .../browser/perwindow/browser_privatebrowsing_openlocation.js | 1 + 1 file changed, 1 insertion(+) diff --git a/browser/components/privatebrowsing/test/browser/perwindow/browser_privatebrowsing_openlocation.js b/browser/components/privatebrowsing/test/browser/perwindow/browser_privatebrowsing_openlocation.js index 78a00df7fff..2a84a58957d 100644 --- a/browser/components/privatebrowsing/test/browser/perwindow/browser_privatebrowsing_openlocation.js +++ b/browser/components/privatebrowsing/test/browser/perwindow/browser_privatebrowsing_openlocation.js @@ -56,6 +56,7 @@ function test() { let win = OpenBrowserWindow(options); win.addEventListener("load", function onLoad() { win.removeEventListener("load", onLoad, false); + win.gBrowser.stop(); // Cancel the current home page load windowsToClose.push(win); callback(win); }, false);