mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1099416 - [e10s] Make sure add-on shims are always enabled (r=ally)
This commit is contained in:
parent
f7b187f387
commit
cb042206b6
@ -416,16 +416,10 @@ addMessageListener("Browser:Thumbnail:Request", function (aMessage) {
|
||||
|
||||
// The AddonsChild needs to be rooted so that it stays alive as long as
|
||||
// the tab.
|
||||
let AddonsChild;
|
||||
if (Services.appinfo.browserTabsRemoteAutostart) {
|
||||
// Currently, the addon shims are only supported when autostarting
|
||||
// with remote tabs.
|
||||
AddonsChild = RemoteAddonsChild.init(this);
|
||||
|
||||
let AddonsChild = RemoteAddonsChild.init(this);
|
||||
addEventListener("unload", () => {
|
||||
RemoteAddonsChild.uninit(AddonsChild);
|
||||
});
|
||||
}
|
||||
|
||||
addMessageListener("NetworkPrioritizer:AdjustPriority", (msg) => {
|
||||
let webNav = docShell.QueryInterface(Ci.nsIWebNavigation);
|
||||
|
Loading…
Reference in New Issue
Block a user