gecko-dev/dom/ipc
Nicholas Nethercote 3da37cfebe Bug 1421541 - Overhaul the prefs phase code. r=glandium
This code is used to detect too-early accesses of prefs in content processes.

The patch makes the following changes.

- New terminology: "early" prefs are those sent via the command line; "late"
  prefs are those sent via IPC. Previously the former were "init" prefs and the
  latter didn't have a clear name.

- The phase tracking and checking is now almost completely encapsulated within
  Preferences.cpp. The only exposure to outside code is via the
  AreAllPrefsSetInContentProcess() method, which has a single use.

- The number of states tracked drops from 5 to 3. There's no need to track the
  beginning of the pref-setting operations, because we only need to know if
  they've finished. (This also avoids the weirdness where we could transition
  from END_INIT_PREFS back to BEGIN_INIT_PREFS because of the way -intPrefs,
  -boolPrefs and -stringPrefs were parsed separately.)

MozReview-Commit-ID: IVJWiDxdsDV

--HG--
extra : rebase_source : 8cee1dcbd40847bf052ca9e2b759dd550350e5a1
2017-11-30 09:14:32 +11:00
..
tests bug 1406391 - Remove toolkit.telemetry.enabled manipulation from tests r=Dexter 2017-10-30 10:47:39 -04:00
CPOWManagerGetter.h
CoalescedInputData.h Bug 1407700 Part1: Revise CoalescedInputData interfaces. r=smaug. 2017-10-12 11:22:36 +08:00
CoalescedMouseData.cpp Bug 1407700 Part2: Handle the case to re-entry event loop for mousemove coalescing. r=smaug. 2017-10-12 09:05:40 +08:00
CoalescedMouseData.h Bug 1404273 - [Pointer Event] Coalescing mousemove for different pointers. r=smaug. 2017-09-20 11:57:56 +08:00
CoalescedWheelData.cpp Bug 1361067 Part1: Refactor coalescing mouse wheel events. r=smaug. 2017-08-13 14:08:48 +08:00
CoalescedWheelData.h Bug 1361067 Part1: Refactor coalescing mouse wheel events. r=smaug. 2017-08-13 14:08:48 +08:00
ColorPickerParent.cpp
ColorPickerParent.h
ContentBridgeChild.cpp Bug 1390424 - Move ParentActivated message from PContent/PContentBridge back to PBrowser. r=billm 2017-08-23 17:02:57 +08:00
ContentBridgeChild.h Bug 1390424 - Move ParentActivated message from PContent/PContentBridge back to PBrowser. r=billm 2017-08-23 17:02:57 +08:00
ContentBridgeParent.cpp Backed out changeset 46d8f42863af (bug 1351148) 2017-08-11 15:19:44 +08:00
ContentBridgeParent.h Bug 1390424 - Move ParentActivated message from PContent/PContentBridge back to PBrowser. r=billm 2017-08-23 17:02:57 +08:00
ContentChild.cpp Bug 1421541 - Overhaul the prefs phase code. r=glandium 2017-11-30 09:14:32 +11:00
ContentChild.h Bug 1420702 - Propagate referrer policy when creating window from pinned tab r=ckerschb,smaug 2017-11-30 21:42:05 +08:00
ContentParent.cpp Bug 1421541 - Overhaul the prefs phase code. r=glandium 2017-11-30 09:14:32 +11:00
ContentParent.h Bug 1420702 - Propagate referrer policy when creating window from pinned tab r=ckerschb,smaug 2017-11-30 21:42:05 +08:00
ContentPrefs.cpp Bug 1421541 - Overhaul the prefs phase code. r=glandium 2017-11-30 09:14:32 +11:00
ContentPrefs.h Bug 1421541 - Overhaul the prefs phase code. r=glandium 2017-11-30 09:14:32 +11:00
ContentProcess.cpp Bug 1421541 - Overhaul the prefs phase code. r=glandium 2017-11-30 09:14:32 +11:00
ContentProcess.h bug 1303096 - Stop sending sync messages soon after content process start-up r=billm 2017-02-05 00:52:38 -05:00
ContentProcessManager.cpp Bug 558184 - Part 7 - Keep track of the content parent that opened a tab so that ContentProcessManager::GetTopLevelTabParent can walk up to the top level tab parent for a JS plugin tab child. r=kanru. 2017-01-16 21:15:11 +01:00
ContentProcessManager.h Bug 558184 - Part 7 - Keep track of the content parent that opened a tab so that ContentProcessManager::GetTopLevelTabParent can walk up to the top level tab parent for a JS plugin tab child. r=kanru. 2017-01-16 21:15:11 +01:00
DOMTypes.ipdlh Bug 1419868 - Fix some inconsistent naming r=mystor 2017-11-22 14:21:37 -05:00
FilePickerParent.cpp Bug 1372405 - Provide names for all runnables in the tree (r=froydnj) 2017-06-26 14:19:58 -07:00
FilePickerParent.h Bug 1357846 - Introducing nsIFilePicker.displaySpecialDirectory, r=smaug 2017-04-26 18:20:19 +02:00
IdType.h
MemoryReportRequest.cpp Add GPU process support to nsMemoryReportingManager. (bug 1321492 part 7, r=erahm) 2017-01-26 16:35:55 -08:00
MemoryReportRequest.h Remove PMemoryReportRequest. (bug 1321492 part 3, r=erahm) 2017-01-26 16:35:54 -08:00
MemoryReportTypes.ipdlh Move MaybeFileDesc out of PContent and into an IPDL header. (bug 1321492 part 5, r=erahm) 2017-01-26 16:35:54 -08:00
PBrowser.ipdl Backed out changeset 71790f0ea832 (bug 967895) 2017-10-09 19:18:12 +02:00
PBrowserOrId.ipdlh
PColorPicker.ipdl
PContent.ipdl Bug 1420702 - Propagate referrer policy when creating window from pinned tab r=ckerschb,smaug 2017-11-30 21:42:05 +08:00
PContentBridge.ipdl Bug 1390424 - Move ParentActivated message from PContent/PContentBridge back to PBrowser. r=billm 2017-08-23 17:02:57 +08:00
PContentPermission.ipdlh
PContentPermissionRequest.ipdl
PCycleCollectWithLogs.ipdl
PDocumentRenderer.ipdl
PFilePicker.ipdl Bug 1357846 - Introducing nsIFilePicker.displaySpecialDirectory, r=smaug 2017-04-26 18:20:19 +02:00
PPluginWidget.ipdl Backed out 5 changesets (bug 1338172) for linux crashtest failures a=backout 2017-02-14 14:31:54 -08:00
PProcessHangMonitor.ipdl Bug 1356334: Part 5 - Add add-on name to slow script messages. r=billm 2017-08-17 20:17:51 -07:00
PTabContext.ipdlh Bug 558184 - Part 8 - Load js plugins in a separate process. r=billm. 2017-05-29 12:38:46 +02:00
PURLClassifier.ipdl Bug 1343425 - Supports nsIURIClassifier.asyncClassifyLocalWithTables. r=baku 2017-04-07 14:15:16 +08:00
PURLClassifierInfo.ipdlh Bug 1351147 - Use fullhash instead of prefix in OnClassifyComplete r=francois 2017-08-04 18:20:13 +08:00
PURLClassifierLocal.ipdl Bug 1343425 - Supports nsIURIClassifier.asyncClassifyLocalWithTables. r=baku 2017-04-07 14:15:16 +08:00
PermissionMessageUtils.cpp
PermissionMessageUtils.h
PreallocatedProcessManager.cpp Bug 1363601 - Let the ContentParent destroy the preallocated process during shutdown. r=mrbkap 2017-08-08 13:32:57 +02:00
PreallocatedProcessManager.h Bug 1373660 - Block the preallocated process manager while a content process is being launched. r=mrbkap 2017-07-11 17:30:08 +02:00
ProcessHangMonitor.cpp Bug 1402519 - Remove MOZ_CRASHREPORTER directives from dom; r=peterv 2017-10-10 12:43:09 +02:00
ProcessHangMonitor.h Bug 1393230 - Part 1: Remove remaining string forward declarations. r=njn 2017-08-23 16:27:16 -07:00
ProcessHangMonitorIPC.h
ProcessPriorityManager.cpp Bug 1404198: Part 2i - Switch to NS_NewTimer* in dom. r=njn 2017-10-15 23:15:40 -07:00
ProcessPriorityManager.h Bug 1366356 - Decrease the process priority of content processes that are not running a foreground tab - part 1 - visibility logic, r=smaug 2017-06-07 09:59:00 +02:00
ServiceWorkerConfiguration.ipdlh
StructuredCloneData.cpp Bug 1353629 - PBlob refactoring - part 3 - IPCBlob in ClonedMessageData, r=smaug 2017-04-24 12:09:40 +02:00
StructuredCloneData.h Bug 1353629 - PBlob refactoring - part 3 - IPCBlob in ClonedMessageData, r=smaug 2017-04-24 12:09:40 +02:00
TabChild.cpp Bug 1420702 - Propagate referrer policy when creating window from pinned tab r=ckerschb,smaug 2017-11-30 21:42:05 +08:00
TabChild.h Bug 1419868 - Fix some inconsistent naming r=mystor 2017-11-22 14:21:37 -05:00
TabContext.cpp Bug 1386825 - Part 1: Remove MOZ_B2G from dom. r=bkelly 2017-08-08 14:41:05 -07:00
TabContext.h Bug 558184 - Part 8 - Load js plugins in a separate process. r=billm. 2017-05-29 12:38:46 +02:00
TabMessageUtils.cpp
TabMessageUtils.h Bug 1402519 - Remove MOZ_CRASHREPORTER directives from dom; r=peterv 2017-10-10 12:43:09 +02:00
TabParent.cpp Bug 1419285 - Part 2. IME message should post to correct widget. r=masayuki 2017-11-29 15:56:11 +09:00
TabParent.h Bug 1390445 - Fix select popup positioning for oop extensions options_ui pages. r=billm,kats,kmag 2017-09-20 20:03:58 +02:00
TelemetryScrollProbe.cpp Bug 1362003 - nsGlobalWindow::GetLocation doesn't need to receive an ErrorResult param, r=bz 2017-05-08 15:49:31 +02:00
TelemetryScrollProbe.h Bug 1340904 - Implement telemetry scroll tracking in C++ r=smaug 2017-03-02 00:51:40 -05:00
URLClassifierChild.h Bug 1351147 - Use fullhash instead of prefix in OnClassifyComplete r=francois 2017-08-04 18:20:13 +08:00
URLClassifierParent.cpp Bug 1343425 - Supports nsIURIClassifier.asyncClassifyLocalWithTables. r=baku 2017-04-07 14:15:16 +08:00
URLClassifierParent.h Bug 1351147 - Use fullhash instead of prefix in OnClassifyComplete r=francois 2017-08-04 18:20:13 +08:00
jar.mn
manifestMessages.js Bug 1374282 - script generated patch to remove Task.jsm calls, r=Mossop. 2017-06-22 12:51:42 +02:00
moz.build Bug 1361067 Part1: Refactor coalescing mouse wheel events. r=smaug. 2017-08-13 14:08:48 +08:00
nsIContentChild.cpp Bug 1405541 (attempt 2) - Split AUTO_PROFILER_LABEL_DYNAMIC into three macros. r=mstange. 2017-10-13 16:12:57 +11:00
nsIContentChild.h Bug 1391803 - Use nsStringFwd.h for forward declaring string classes. r=froydnj 2017-08-16 16:48:52 -07:00
nsIContentParent.cpp Bug 1405541 (attempt 2) - Split AUTO_PROFILER_LABEL_DYNAMIC into three macros. r=mstange. 2017-10-13 16:12:57 +11:00
nsIContentParent.h Bug 1390424 - Move ParentActivated message from PContent/PContentBridge back to PBrowser. r=billm 2017-08-23 17:02:57 +08:00
nsIHangReport.idl Bug 1356334: Part 5 - Add add-on name to slow script messages. r=billm 2017-08-17 20:17:51 -07:00
remote-test.js Bug 1389650 - Change nsIDOMHTMLAnchorElement instanceof checks to getClassName; r=bz 2017-09-26 11:40:15 -07:00
test.xul