From cb042206b61c258883bf7a031860556f26c64f7d Mon Sep 17 00:00:00 2001 From: Bill McCloskey Date: Tue, 18 Nov 2014 16:20:59 -0800 Subject: [PATCH] Bug 1099416 - [e10s] Make sure add-on shims are always enabled (r=ally) --- toolkit/content/browser-child.js | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/toolkit/content/browser-child.js b/toolkit/content/browser-child.js index ea41d00bf95..6656fea733f 100644 --- a/toolkit/content/browser-child.js +++ b/toolkit/content/browser-child.js @@ -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); - - addEventListener("unload", () => { - RemoteAddonsChild.uninit(AddonsChild); - }); -} +let AddonsChild = RemoteAddonsChild.init(this); +addEventListener("unload", () => { + RemoteAddonsChild.uninit(AddonsChild); +}); addMessageListener("NetworkPrioritizer:AdjustPriority", (msg) => { let webNav = docShell.QueryInterface(Ci.nsIWebNavigation);