Bug 1521879 - Part 9: Re-enable the prefs service on the socket process. r=erahm
authorByron Campen [:bwc] <docfaraday@gmail.com>
Fri, 22 Feb 2019 00:32:40 +0000
changeset 518454 f597a73a6eaca926be5f95caa7a06d9cdcf50f0e
parent 518453 0bb76534f20789fd4a4e9f5e2334039cd6b01074
child 518455 5204f04bcde3e143029d9b9d0dfb9469ed71972d
push id10862
push userffxbld-merge
push dateMon, 11 Mar 2019 13:01:11 +0000
treeherdermozilla-beta@a2e7f5c935da [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 Depends on D18231 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',
     },
 ]