diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-05-12 14:32:03 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-05-12 14:32:03 +0200 |
commit | b7d9dad58e5a3f87a6c767412941700bc8010044 (patch) | |
tree | f5e99b3029cf54409ae5951e9e91cca3a54addc7 /toolkit/mozapps | |
parent | 73cdd6117df7c17b76aad93952cf574c494351aa (diff) | |
download | UXP-b7d9dad58e5a3f87a6c767412941700bc8010044.tar UXP-b7d9dad58e5a3f87a6c767412941700bc8010044.tar.gz UXP-b7d9dad58e5a3f87a6c767412941700bc8010044.tar.lz UXP-b7d9dad58e5a3f87a6c767412941700bc8010044.tar.xz UXP-b7d9dad58e5a3f87a6c767412941700bc8010044.zip |
Remove MOZ_B2G leftovers and some dead B2G-only components.
Diffstat (limited to 'toolkit/mozapps')
-rw-r--r-- | toolkit/mozapps/webextensions/nsBlocklistService.js | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/toolkit/mozapps/webextensions/nsBlocklistService.js b/toolkit/mozapps/webextensions/nsBlocklistService.js index 0af90430c..268c197fc 100644 --- a/toolkit/mozapps/webextensions/nsBlocklistService.js +++ b/toolkit/mozapps/webextensions/nsBlocklistService.js @@ -907,10 +907,6 @@ Blocklist.prototype = { this._handleEmItemNode); break; case "pluginItems": - // We don't support plugins on b2g. - if (AppConstants.MOZ_B2G) { - return; - } this._pluginEntries = this._processItemNodes(element.childNodes, "pluginItem", this._handlePluginItemNode); break; @@ -1151,8 +1147,7 @@ Blocklist.prototype = { /* See nsIBlocklistService */ getPluginBlocklistState: function(plugin, appVersion, toolkitVersion) { - if (AppConstants.platform == "android" || - AppConstants.MOZ_B2G) { + if (AppConstants.platform == "android") { return Ci.nsIBlocklistService.STATE_NOT_BLOCKED; } if (!this._isBlocklistLoaded()) @@ -1314,10 +1309,6 @@ Blocklist.prototype = { }, _blocklistUpdated: function(oldAddonEntries, oldPluginEntries) { - if (AppConstants.MOZ_B2G) { - return; - } - var addonList = []; // A helper function that reverts the prefs passed to default values. |