gecko-dev/dom/ipc
Andrew McCreight b46bfc918b Bug 1345978, part 2 - Check build ids early in content startup. r=billm
If Firefox is updated while it is running, the content process can end
up being a different version than the parent process. This can cause
odd crashes, that will happen repeatedly until the user restarts
Firefox. To handle this better, this patch adds a special build ID
message that is sent early in content process startup. The parent
process intentionally crashes if the build ID for the child process
does not match that of the parent process.

MozReview-Commit-ID: 7D3ggkaLxNS

--HG--
extra : rebase_source : 1f8d917ce01919524f949dd5bedfbbbd557f7ed3
2017-03-10 17:01:38 -08:00
..
tests Bug 1335539 - Get rid of nsIDOMWindowUtils.wrapDOMFile, r=smaug, r=Gijs 2017-03-03 09:42:54 +01:00
CoalescedWheelData.cpp Bug 1337963 - Coalesce wheel events in the content process so that long wheel event handlers don't hang the content process. r=smaug 2017-02-21 17:56:46 +08:00
CoalescedWheelData.h Bug 1337963 - Coalesce wheel events in the content process so that long wheel event handlers don't hang the content process. r=smaug 2017-02-21 17:56:46 +08:00
ColorPickerParent.cpp Bug 1314254 - Add mozilla::ipc::IPCResult type and convert IPDL handlers to use new return type. r=billm 2016-11-15 04:26:00 +01:00
ColorPickerParent.h Bug 1314254 - Add mozilla::ipc::IPCResult type and convert IPDL handlers to use new return type. r=billm 2016-11-15 04:26:00 +01:00
ContentBridgeChild.cpp Bug 1333917 - Make ContentBridge use endpoints, not bridges. r=kanru 2017-01-26 14:40:17 -08:00
ContentBridgeChild.h Bug 1333917 - Make ContentBridge use endpoints, not bridges. r=kanru 2017-01-26 14:40:17 -08:00
ContentBridgeParent.cpp Bug 1333917 - Make ContentBridge use endpoints, not bridges. r=kanru 2017-01-26 14:40:17 -08:00
ContentBridgeParent.h Bug 1333917 - Make ContentBridge use endpoints, not bridges. r=kanru 2017-01-26 14:40:17 -08:00
ContentChild.cpp Bug 1345978, part 2 - Check build ids early in content startup. r=billm 2017-03-10 17:01:38 -08:00
ContentChild.h Bug 606885 - Fire drag events with keyboard modifiers. r=enn 2017-02-17 11:29:42 +08:00
ContentParent.cpp Bug 1343731 - Remove the sync IPC during DataStorage initialization; r=keeler,billm 2017-03-10 22:35:07 -05:00
ContentParent.h Bug 1343731 - Remove the sync IPC during DataStorage initialization; r=keeler,billm 2017-03-10 22:35:07 -05:00
ContentPrefs.cpp Bug 1343665 part 1: Remove all mentions of about:config pref "layout.css.object-fit-and-position.enabled" from source files. r=mats 2017-03-02 10:04:00 -08:00
ContentPrefs.h Bug 1341890 - Fix line endings for ContentPrefs.h. r=billm 2017-02-24 10:23:53 -08:00
ContentProcess.cpp Bug 1326245: Tell the child processes when we're in safe mode. r=smaug 2017-02-08 15:45:01 -08: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 1333799: MinTabSelector for process selection. r=mrbkap 2017-03-07 20:00:28 +01:00
ContentProcessManager.h Bug 1333799: MinTabSelector for process selection. r=mrbkap 2017-03-07 20:00:28 +01:00
CPOWManagerGetter.h
DatePickerParent.cpp Bug 1314254 - Add mozilla::ipc::IPCResult type and convert IPDL handlers to use new return type. r=billm 2016-11-15 04:26:00 +01:00
DatePickerParent.h Bug 1314254 - Add mozilla::ipc::IPCResult type and convert IPDL handlers to use new return type. r=billm 2016-11-15 04:26:00 +01:00
DOMTypes.ipdlh Bug 1315913 - Part 1: Move nsFrameMessenger structured clone Build/Unpack into StructuredCloneData and expand to support PBackground. r=baku 2016-11-21 04:06:41 -05:00
FilePickerParent.cpp Bug 1339871 - Splitting dom/file/File.{h,cpp}, r=smaug 2017-02-16 18:26:38 +01:00
FilePickerParent.h Bug 1314254 - Add mozilla::ipc::IPCResult type and convert IPDL handlers to use new return type. r=billm 2016-11-15 04:26:00 +01:00
IdType.h
jar.mn Bug 1311149 - Remove the b2g preallocated app support; r=baku 2016-11-16 09:17:35 -05:00
manifestMessages.js Bug 1234558 - Use icons from app manifest. r=marcosc, r=sebastian 2017-01-17 18:24:53 +00:00
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
moz.build Bug 1337963 - Coalesce wheel events in the content process so that long wheel event handlers don't hang the content process. r=smaug 2017-02-21 17:56:46 +08:00
nsIContentChild.cpp Bug 1331743 - Create CrossProcessCpowHolder even if there is no message manager. r=smaug 2017-01-17 11:00:38 -08:00
nsIContentChild.h Bug 1318506 - Initialize TabChild in constructor message, not allocation (r=dvander) 2016-12-23 11:48:13 -08:00
nsIContentParent.cpp Bug 1331743 - Create CrossProcessCpowHolder even if there is no message manager. r=smaug 2017-01-17 11:00:38 -08:00
nsIContentParent.h Bug 1310845 - Remove support for mozapp iframes; r=fabrice,jryans,baku,mcmanus 2016-11-16 09:13:38 -05:00
nsIHangReport.idl
PBrowser.ipdl Bug 1338241 - Part 2: Simplify the in large allocation process logic, r=smaug 2017-02-17 12:00:45 -05:00
PBrowserOrId.ipdlh
PColorPicker.ipdl
PContent.ipdl Bug 606885 - Fire drag events with keyboard modifiers. r=enn 2017-02-17 11:29:42 +08:00
PContentBridge.ipdl Bug 1333917 - Make ContentBridge use endpoints, not bridges. r=kanru 2017-01-26 14:40:17 -08:00
PContentPermission.ipdlh
PContentPermissionRequest.ipdl
PCycleCollectWithLogs.ipdl
PDatePicker.ipdl
PDocumentRenderer.ipdl
PermissionMessageUtils.cpp Bug 1296189 - Replace NS_RUNTIMEABORT("some string literal message") with MOZ_CRASH(). r=froydnj 2016-12-02 13:46:53 -08:00
PermissionMessageUtils.h
PFilePicker.ipdl
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 1342927 - Fire a MozTabChildNotReady event on a frameloader if force-painting a tab without a TabChild. r=billm 2017-02-28 17:22:02 -05:00
PreallocatedProcessManager.cpp Bug 1324428 - Simplified preallocated process manager. r=billm 2017-02-01 13:34:24 +01:00
PreallocatedProcessManager.h Bug 1324428 - Simplified preallocated process manager. r=billm 2017-02-01 13:34:24 +01:00
ProcessHangMonitor.cpp Bug 1343639 - Use the HangMonitorParent TaskFactory instead of runnables for dispatching the hang notification to the main thread. r=billm 2017-03-06 15:55:36 -05:00
ProcessHangMonitor.h Bug 1321052 - Convert ProcessHangMonitor to use endpoints. r=billm 2017-01-05 12:54:52 -08:00
ProcessHangMonitorIPC.h Bug 1321052 - Convert ProcessHangMonitor to use endpoints. r=billm 2017-01-05 12:54:52 -08:00
ProcessPriorityManager.cpp Bug 1313169 - Remove dom/inputmethod/ and related code. r=Ehsan 2016-12-20 16:32:12 -08:00
ProcessPriorityManager.h
PScreenManager.ipdl
PTabContext.ipdlh Bug 1328653 - Merging all the various *OriginAttributes to just one, r=huseby 2017-01-12 17:38:48 +01:00
PURLClassifier.ipdl Bug 1288633 - Add more information when an URL matches Safe Browsing list. r=dragana,francois 2017-02-21 09:46:36 +08:00
PURLClassifierInfo.ipdlh Bug 1288633 - Add more information when an URL matches Safe Browsing list. r=dragana,francois 2017-02-21 09:46:36 +08:00
remote-test.js
ScreenManagerParent.cpp Bug 1314254 - Add mozilla::ipc::IPCResult type and convert IPDL handlers to use new return type. r=billm 2016-11-15 04:26:00 +01:00
ScreenManagerParent.h Bug 1314254 - Add mozilla::ipc::IPCResult type and convert IPDL handlers to use new return type. r=billm 2016-11-15 04:26:00 +01:00
ServiceWorkerConfiguration.ipdlh
StructuredCloneData.cpp Bug 1315913 - Part 1: Move nsFrameMessenger structured clone Build/Unpack into StructuredCloneData and expand to support PBackground. r=baku 2016-11-21 04:06:41 -05:00
StructuredCloneData.h Bug 1315913 - Part 1: Move nsFrameMessenger structured clone Build/Unpack into StructuredCloneData and expand to support PBackground. r=baku 2016-11-21 04:06:41 -05:00
TabChild.cpp Bug 1337963 - Coalesce wheel events in the content process so that long wheel event handlers don't hang the content process. r=smaug 2017-02-21 17:56:46 +08:00
TabChild.h Bug 1337963 - Coalesce wheel events in the content process so that long wheel event handlers don't hang the content process. r=smaug 2017-02-21 17:56:46 +08:00
TabContext.cpp Bug 1328653 - Merging all the various *OriginAttributes to just one, r=huseby 2017-01-12 17:38:48 +01:00
TabContext.h Bug 1328653 - Merging all the various *OriginAttributes to just one, r=huseby 2017-01-12 17:38:48 +01:00
TabMessageUtils.cpp
TabMessageUtils.h
TabParent.cpp Bug 606885 - Fire drag events with keyboard modifiers. r=enn 2017-02-17 11:29:42 +08:00
TabParent.h Bug 1342927 - Don't fire MozTabChildNotReady from TabParent if we've already presented. r=billm 2017-03-04 14:12:38 -05:00
TelemetryScrollProbe.cpp Bug 1340904 - Implement telemetry scroll tracking in C++ r=smaug 2017-03-02 00:51:40 -05:00
TelemetryScrollProbe.h Bug 1340904 - Implement telemetry scroll tracking in C++ r=smaug 2017-03-02 00:51:40 -05:00
test.xul
URLClassifierChild.cpp Bug 1288633 - Add more information when an URL matches Safe Browsing list. r=dragana,francois 2017-02-21 09:46:36 +08:00
URLClassifierChild.h Bug 1288633 - Add more information when an URL matches Safe Browsing list. r=dragana,francois 2017-02-21 09:46:36 +08:00
URLClassifierParent.cpp Bug 1339006 - Specify event target if we run nsIURIClassifier.clasify() from content process.r=ehsan, r=gcp 2017-03-08 11:06:36 +08:00
URLClassifierParent.h Bug 1325255 - Don't crash during shutdown if the deserialization of the principal fails; r=bkelly 2016-12-22 15:09:12 -05:00