Bug 1521879 - Part 9: Re-enable the prefs service on the socket process. r=erahm
authorByron Campen [:bwc] <docfaraday@gmail.com>
Mon, 25 Feb 2019 21:52:46 +0000
changeset 461007 5aa193f471ea49165243f10c49f6ef99e26f723f
parent 461006 083dee3d21698b298e1a77cb09f974bdedca1b84
child 461008 35606fc8f21a2fd01bf1f06e5ca2b4004188d052
push id35613
push usernerli@mozilla.com
push dateTue, 26 Feb 2019 03:52:35 +0000
treeherdermozilla-central@faec87a80ed1 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerserahm
bugs1521879
milestone67.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 1521879 - Part 9: Re-enable the prefs service on the socket process. r=erahm Differential Revision: https://phabricator.services.mozilla.com/D20724
modules/libpref/components.conf
--- a/modules/libpref/components.conf
+++ b/modules/libpref/components.conf
@@ -13,15 +13,16 @@ UnloadFunc = 'mozilla::UnloadPrefsModule
 Classes = [
     {
         'cid': '{91ca2441-050f-4f7c-9df8-75b40ea40156}',
         'contract_ids': ['@mozilla.org/preferences-service;1'],
         'singleton': True,
         'type': 'mozilla::Preferences',
         'headers': ['mozilla/Preferences.h'],
         'constructor': 'mozilla::Preferences::GetInstanceForService',
+        'processes': ProcessSelector.ALLOW_IN_SOCKET_PROCESS,
     },
     {
         'cid': '{064d9cee-1dd2-11b2-83e3-d25ab0193c26}',
         'contract_ids': ['@mozilla.org/pref-localizedstring;1'],
         'type': 'nsPrefLocalizedString',
     },
 ]