Bug 1548869: Fix blocklist startup category registration. r=aswan
authorKris Maglione <maglione.k@gmail.com>
Fri, 03 May 2019 10:14:40 -0700
changeset 531409 559ed8ce1baad23807527b737ddd519919f63986
parent 531408 03cd65786325dbeb9f17586f39b2efea373b8004
child 531410 efd1ec2f26dde1d17cf806f75cdf4f2a89851150
push id11265
push userffxbld-merge
push dateMon, 13 May 2019 10:53:39 +0000
treeherdermozilla-beta@77e0fe8dbdd3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersaswan
bugs1548869
milestone68.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1548869: Fix blocklist startup category registration. r=aswan We're supposed to register this category for everything other than desktop Firefox. Instead, we currently register it only for desktop Firefox. Differential Revision: https://phabricator.services.mozilla.com/D29858
toolkit/mozapps/extensions/components.conf
--- a/toolkit/mozapps/extensions/components.conf
+++ b/toolkit/mozapps/extensions/components.conf
@@ -7,17 +7,17 @@
 Classes = [
     {
         'cid': '{66354bc9-7ed1-4692-ae1d-8da97d6b205e}',
         'contract_ids': ['@mozilla.org/extensions/blocklist;1'],
         'jsm': 'resource://gre/modules/addonManager.js',
         'constructor': 'BlocklistService',
         'processes': ProcessSelector.MAIN_PROCESS_ONLY,
         'categories': ({'profile-after-change': 'nsBlocklistService'}
-                       if buildconfig.substs['MOZ_BUILD_APP'] == 'browser'
+                       if buildconfig.substs['MOZ_BUILD_APP'] != 'browser'
                        else {}),
     },
     {
         'cid': '{4399533d-08d1-458c-a87a-235f74451cfa}',
         'contract_ids': ['@mozilla.org/addons/integration;1'],
         'jsm': 'resource://gre/modules/addonManager.js',
         'constructor': 'amManager',
     },