mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1239822: Part 2a - [webext] Explicitly destroy windowless browsers on unload. r=billm
This commit is contained in:
parent
46940815b2
commit
f965c5ec6f
@ -40,4 +40,6 @@ add_task(function* test_windowlessBrowserTroubleshootCrash() {
|
||||
});
|
||||
|
||||
ok(data.graphics.windowLayerManagerType !== "None", "windowless browser window should not set windowLayerManagerType to 'None'");
|
||||
|
||||
webNav.close();
|
||||
});
|
||||
|
@ -104,6 +104,7 @@ BackgroundPage.prototype = {
|
||||
this.webNav = null;
|
||||
|
||||
this.chromeWebNav.loadURI("about:blank", 0, null, null, null);
|
||||
this.chromeWebNav.close();
|
||||
this.chromeWebNav = null;
|
||||
},
|
||||
};
|
||||
|
@ -59,6 +59,8 @@ function testWindowlessBrowser(chromePrivileged) {
|
||||
}
|
||||
|
||||
ok(!exception, "window.external.AddSearchProvider should be ignore withour raising an exception");
|
||||
|
||||
webNav.close();
|
||||
}
|
||||
|
||||
info("Test Bug 1214174 on a content privileged windowless browser");
|
||||
|
Loading…
Reference in New Issue
Block a user