Bug 1099416 - [e10s] Make sure add-on shims are always enabled (r=ally)

This commit is contained in:
Bill McCloskey 2014-11-18 16:20:59 -08:00
parent f7b187f387
commit cb042206b6

View File

@ -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);