mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
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
This commit is contained in:
parent
90b7a13094
commit
bd84c35ab8
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user