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

--HG--
extra : rebase_source : aaafd1704d9518dd9595c9e7229fb1ae5956acf7
This commit is contained in:
Kris Maglione 2019-05-03 10:14:40 -07:00
parent 8ad3d924cf
commit 5bd59ad140

View File

@ -12,7 +12,7 @@ Classes = [
'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 {}),
},
{