From f3d62969eef38818118418bd49701e314d5479c2 Mon Sep 17 00:00:00 2001 From: Deathamns Date: Thu, 12 Mar 2015 12:09:45 +0100 Subject: [PATCH] Remove unnecessary fallback code for downloading --- platform/firefox/vapi-background.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/platform/firefox/vapi-background.js b/platform/firefox/vapi-background.js index 6ab8925..043a620 100644 --- a/platform/firefox/vapi-background.js +++ b/platform/firefox/vapi-background.js @@ -38,7 +38,6 @@ const {Services} = Cu.import('resource://gre/modules/Services.jsm', null); /******************************************************************************/ var vAPI = self.vAPI = self.vAPI || {}; -vAPI.isMainProcess = true; vAPI.firefox = true; vAPI.fennec = Services.appinfo.ID === '{aa3c5121-dab2-40e2-81ca-7ea25febc110}'; @@ -1855,7 +1854,7 @@ vAPI.optionsObserver = { register: function () { var obs = Components.classes['@mozilla.org/observer-service;1'].getService(Components.interfaces.nsIObserverService); obs.addObserver(this, "addon-options-displayed", false); - + cleanupTasks.push(this.unregister.bind(this)); },