gecko-dev/dom/ipc
Barret Rennie cf23208d84 Bug 1510569 - Only forward nsIWebProgress events to the BrowserParent after the WebProgressChild has loaded r=kmag,mconley
Before the WebProgress event handlers started migrating to C++, the parent
process would only receive WebProgress events after the child process had
finished loading the WebProgressChild script. Now that listeners are registered
much earlier (before the BrowserChild has finished setting up its frame
scripts), the BrowserParent would receive WebProgress events that were
heretofore not received unless the BrowserChild was *very* careful about when
it sent the IPC messages.

However, even while being very careful, the OnStateChange event handler would
always fire events for initial about:blank loads that break a lot of unit
tests. Before porting that event, we are now ensuring that the WebProgressChild
has finished loading before the BrowserChild will send IPC messages for these
events to the BrowserParent.

Differential Revision: https://phabricator.services.mozilla.com/D30252

--HG--
extra : moz-landing-system : lando
2019-05-23 18:48:18 +00:00
..
fuzztest Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
tests Bug 1551873 - Fix JSWindowActor's intermittent TV failures; r=nika 2019-05-23 08:50:51 +00:00
BrowserBridgeChild.cpp Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2019-05-23 07:44:57 +03:00
BrowserBridgeChild.h Bug 1518919 - Propagate CSS visibility information to descendant documents via IPC call for fission. r=jwatt 2019-05-13 01:49:07 +00:00
BrowserBridgeHost.cpp Bug 1525720, part 16 - Cycle collect RemoteBrowser and support weak references in BrowserHost. r=nika 2019-05-14 16:28:10 -05:00
BrowserBridgeHost.h Bug 1525720, part 16 - Cycle collect RemoteBrowser and support weak references in BrowserHost. r=nika 2019-05-14 16:28:10 -05:00
BrowserBridgeParent.cpp Bug 1540839 - Add ability to preserve browsing contexts between FrameLoaders; r=nika 2019-05-14 10:51:04 -07:00
BrowserBridgeParent.h Bug 1540839 - Add ability to preserve browsing contexts between FrameLoaders; r=nika 2019-05-14 10:51:04 -07:00
BrowserChild.cpp Bug 1510569 - Only forward nsIWebProgress events to the BrowserParent after the WebProgressChild has loaded r=kmag,mconley 2019-05-23 18:48:18 +00:00
BrowserChild.h Bug 1510569 - Only forward nsIWebProgress events to the BrowserParent after the WebProgressChild has loaded r=kmag,mconley 2019-05-23 18:48:18 +00:00
BrowserHost.cpp Bug 1525720, part 17 - Ignore nsIRemoteTab methods after we have destroyed the browser. r=nika 2019-05-15 12:34:14 -05:00
BrowserHost.h Backed out changeset a296439a25ff (bug 1519636) for frequent Windows cppunit failures CLOSED TREE 2019-05-24 14:26:01 +03:00
BrowserParent.cpp Backed out changeset a296439a25ff (bug 1519636) for frequent Windows cppunit failures CLOSED TREE 2019-05-24 14:26:01 +03:00
BrowserParent.h Backed out 4 changesets (bug 1510569) for 1419902.html failures CLOSED TREE 2019-05-23 01:58:51 +03:00
CPOWManagerGetter.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
CSPMessageUtils.cpp Bug 1547218 - Part 2: Stop special casing pointer types in ParamTraits specialization, r=froydnj 2019-05-21 17:04:39 +00:00
CSPMessageUtils.h Bug 1547218 - Part 2: Stop special casing pointer types in ParamTraits specialization, r=froydnj 2019-05-21 17:04:39 +00:00
CoalescedInputData.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
CoalescedMouseData.cpp Bug 1259660 - Cleaned up WidgetMouseEventBase by renaming WidgetMouseEventBase::inputSource to WidgetMouseEventBase::mInputSource r=masayuki 2019-04-21 18:19:43 +00:00
CoalescedMouseData.h Bug 1534395 - Rename TabChild to BrowserChild. r=nika 2019-04-09 17:39:01 -05:00
CoalescedWheelData.cpp Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
CoalescedWheelData.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
ColorPickerParent.cpp Bug 1534395 - Rename TabParent to BrowserParent. r=nika 2019-04-09 16:38:15 -05:00
ColorPickerParent.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
ContentChild.cpp Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2019-05-23 07:44:57 +03:00
ContentChild.h Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2019-05-23 07:44:57 +03:00
ContentParent.cpp Backed out 28 changesets (bug 1550422) for marionette AssertionError and failing browser_policy_hardware_acceleration.js on a CLOSED TREE. 2019-05-23 05:59:44 +03:00
ContentParent.h Backed out 28 changesets (bug 1550422) for marionette AssertionError and failing browser_policy_hardware_acceleration.js on a CLOSED TREE. 2019-05-23 05:59:44 +03:00
ContentProcess.cpp Bug 1375863 - fold MOZ_CONTENT_SANDBOX and MOZ_GMP_SANDBOX into MOZ_SANDBOX; r=jld,firefox-build-system-reviewers 2019-03-18 22:31:59 +00:00
ContentProcess.h Bug 1400344: Rename mscom::MainThreadRuntime to mscom::ProcessRuntime and make it aware of Win32k lockdown and of multiple instantiations; r=Jamie 2019-02-14 18:56:20 +00:00
ContentProcessManager.cpp Bug 1534395 - Rename TabChild to BrowserChild. r=nika 2019-04-09 17:39:01 -05:00
ContentProcessManager.h Bug 1534395 - Rename TabParent to BrowserParent. r=nika 2019-04-09 16:38:15 -05:00
DOMTypes.ipdlh Bug 1542786 - Set documentURI during WindowGlobalParent creation, r=farre 2019-04-09 11:58:35 +00:00
DocShellMessageUtils.cpp Bug 1547218 - Part 2: Stop special casing pointer types in ParamTraits specialization, r=froydnj 2019-05-21 17:04:39 +00:00
DocShellMessageUtils.h Bug 1547218 - Part 2: Stop special casing pointer types in ParamTraits specialization, r=froydnj 2019-05-21 17:04:39 +00:00
FilePickerParent.cpp Bug 1534395 - Rename TabParent to BrowserParent. r=nika 2019-04-09 16:38:15 -05:00
FilePickerParent.h Bug 1512990 - Part 4 - remove declarations of Recv/Answer methods from IPDL protocol base class; r=froydnj 2019-02-06 15:58:43 +00:00
IdType.h Bug 1534395 - Rename TabParent to BrowserParent. r=nika 2019-04-09 16:38:15 -05:00
JSWindowActor.cpp Bug 1538979 - Part 2: Add WillDestroy and DidDestroy lifecycle methods on JSWindowActor; r=nika 2019-05-10 15:01:40 +00:00
JSWindowActor.h Bug 1538979 - Part 2: Add WillDestroy and DidDestroy lifecycle methods on JSWindowActor; r=nika 2019-05-10 15:01:40 +00:00
JSWindowActorChild.cpp Bug 1552263 - Add docShell attribute to JSWindowActorChild; r=nika 2019-05-17 19:01:21 +00:00
JSWindowActorChild.h Bug 1552263 - Add docShell attribute to JSWindowActorChild; r=nika 2019-05-17 19:01:21 +00:00
JSWindowActorParent.cpp Bug 1538979 - Part 2: Add WillDestroy and DidDestroy lifecycle methods on JSWindowActor; r=nika 2019-05-10 15:01:40 +00:00
JSWindowActorParent.h Bug 1538979 - Part 1: Clear mManager in ActorDestroy and disallow sending message while Destroying; r=nika 2019-05-10 15:01:33 +00:00
JSWindowActorService.cpp Bug 1552268 - Allow omitting moduleURI for JSWindowActor declarations; r=nika 2019-05-22 16:56:19 +00:00
JSWindowActorService.h Bug 1552268 - Allow omitting moduleURI for JSWindowActor declarations; r=nika 2019-05-22 16:56:19 +00:00
MMPrinter.cpp Bug 1534395 - Unified build fixes. r=nika 2019-04-09 17:38:11 -05:00
MMPrinter.h Bug 1534395 - Unified build fixes. r=nika 2019-04-09 17:38:11 -05:00
ManifestMessagesChild.jsm Bug 1514594: Part 3 - Change ChromeUtils.import API. 2019-01-17 10:18:31 -08:00
MemMapSnapshot.cpp Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
MemMapSnapshot.h Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre 2019-01-18 10:16:18 +01:00
MemoryReportRequest.cpp Bug 1532725 - Rename PRemoteFrame to PBrowserBridge. r=nika 2019-03-04 20:15:58 -06:00
MemoryReportRequest.h Bug 1531476 - replace MaybeFileDesc with FileDescriptor? in IPDL; r=mccr8 2019-02-28 21:20:40 +00:00
MemoryReportTypes.ipdlh Bug 1531476 - replace MaybeFileDesc with FileDescriptor? in IPDL; r=mccr8 2019-02-28 21:20:40 +00:00
PBrowser.ipdl Backed out 4 changesets (bug 1510569) for 1419902.html failures CLOSED TREE 2019-05-23 01:58:51 +03:00
PBrowserBridge.ipdl Bug 1540839 - Add ability to preserve browsing contexts between FrameLoaders; r=nika 2019-05-14 10:51:04 -07:00
PBrowserOrId.ipdlh
PColorPicker.ipdl
PContent.ipdl Bug 1552268 - Allow omitting moduleURI for JSWindowActor declarations; r=nika 2019-05-22 16:56:19 +00:00
PContentPermission.ipdlh Bug 1502747 - Remove nsIContentPermissionType.access and all of its supporting code r=snorp,baku 2018-10-30 07:48:55 +00:00
PContentPermissionRequest.ipdl
PCycleCollectWithLogs.ipdl
PFilePicker.ipdl Bug 1514364 - Add appendRawFilter to nsIFilePicker to expose actual accept filters to GV for onFilePrompt. r=snorp, smaug 2019-01-24 10:21:05 -06:00
PLoginReputation.ipdl
PPluginWidget.ipdl
PProcessHangMonitor.ipdl Bug 1493225, part 3 - Cancel content JS when navigating through history to prevent hangs r=smaug 2019-04-30 23:31:46 +00:00
PTabContext.ipdlh Bug 1320404 - Remove appId from origin attributes - part 2 - NO_APP_ID UNKNOWN_APP_ID, r=Ehsan 2019-05-03 17:13:47 +00:00
PURLClassifier.ipdl Bug 1536372 - Get rid of PURLClassifierInfo MaybeInfo, r=dimi 2019-03-19 09:31:07 +00:00
PURLClassifierInfo.ipdlh Bug 1536372 - Get rid of PURLClassifierInfo MaybeInfo, r=dimi 2019-03-19 09:31:07 +00:00
PURLClassifierLocal.ipdl Bug 1514202 - Port flash url-classifier to nsIUrlClassifierFeature - part 1 - Flash feature, r=dimi, r=edgar, r=valentin 2019-01-04 14:45:42 +01:00
PWindowGlobal.ipdl Bug 1544936 - Part 1: Add a sendQuery method to send an async message with a response to JSWindowActor, r=mconley,jdai 2019-04-18 19:37:15 +00:00
PermissionMessageUtils.cpp Bug 1547218 - Part 2: Stop special casing pointer types in ParamTraits specialization, r=froydnj 2019-05-21 17:04:39 +00:00
PermissionMessageUtils.h Bug 1547218 - Part 2: Stop special casing pointer types in ParamTraits specialization, r=froydnj 2019-05-21 17:04:39 +00:00
PreallocatedProcessManager.cpp Bug 1523969 part 6 - Move method definition inline comments to new line in 'dom/'. r=nika 2019-02-25 16:05:29 -06:00
PreallocatedProcessManager.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
PrefsTypes.ipdlh Bug 1536163 - Part 2 - use native Maybe syntax in place of MaybePrefValue in IPDL; r=mccr8 2019-03-21 06:51:43 +02:00
ProcessHangMonitor.cpp Bug 1549177 - Fix a race condition when cancelling content JS during navigation; r=smaug 2019-05-07 21:56:58 +00:00
ProcessHangMonitor.h Bug 1493225, part 1 - Cancel content JS when navigating through history to prevent hangs r=smaug 2019-04-30 23:56:17 +00:00
ProcessHangMonitorIPC.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
ProcessPriorityManager.cpp Bug 1525720, part 17 - Ignore nsIRemoteTab methods after we have destroyed the browser. r=nika 2019-05-15 12:34:14 -05:00
ProcessPriorityManager.h Bug 1534395 - Rename TabParent to BrowserParent. r=nika 2019-04-09 16:38:15 -05:00
ReferrerInfoUtils.cpp Bug 1547218 - Part 2: Stop special casing pointer types in ParamTraits specialization, r=froydnj 2019-05-21 17:04:39 +00:00
ReferrerInfoUtils.h Bug 1547218 - Part 2: Stop special casing pointer types in ParamTraits specialization, r=froydnj 2019-05-21 17:04:39 +00:00
RemoteBrowser.h Bug 1525720, part 16 - Cycle collect RemoteBrowser and support weak references in BrowserHost. r=nika 2019-05-14 16:28:10 -05:00
RemoteWebProgress.cpp Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan 2019-05-01 08:47:10 +00:00
RemoteWebProgress.h Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan 2019-05-01 08:47:10 +00:00
RemoteWebProgressRequest.cpp Backed out changeset a296439a25ff (bug 1519636) for frequent Windows cppunit failures CLOSED TREE 2019-05-24 14:26:01 +03:00
RemoteWebProgressRequest.h Bug 1510569 - Reimplement RemoteWebProgressRequest as an XPCOM component in C++ r=Ehsan 2019-04-03 17:31:07 +00:00
ServiceWorkerConfiguration.ipdlh
SharedMap.cpp Bug 1523969 part 6 - Move method definition inline comments to new line in 'dom/'. r=nika 2019-02-25 16:05:29 -06:00
SharedMap.h Bug 1511393 - Use c-basic-offset: 2 in Emacs mode line for C/C++ code. r=nbp 2018-12-01 04:52:05 +09:00
SharedMapChangeEvent.h Bug 1511393 - Use c-basic-offset: 2 in Emacs mode line for C/C++ code. r=nbp 2018-12-01 04:52:05 +09:00
SharedStringMap.cpp Bug 1519636 - clang-format-8: Reformat recent changes to the Google coding style r=Ehsan 2019-04-05 21:41:42 +00:00
SharedStringMap.h Bug 1511393 - Use c-basic-offset: 2 in Emacs mode line for C/C++ code. r=nbp 2018-12-01 04:52:05 +09:00
StringTable.h Bug 1511393 - Use c-basic-offset: 2 in Emacs mode line for C/C++ code. r=nbp 2018-12-01 04:52:05 +09:00
StructuredCloneData.cpp Bug 1522579 - Part 3: Remove consumers of nsIContentChild, r=mccr8 2019-02-25 20:04:49 +00:00
StructuredCloneData.h Bug 1539261, part 2 - Mark various JSStructuredCloneData methods MOZ_MUST_USE. r=sfink 2019-03-27 20:41:17 +00:00
TabContext.cpp Bug 1320404 - Remove appId from origin attributes - part 2 - NO_APP_ID UNKNOWN_APP_ID, r=Ehsan 2019-05-03 17:13:47 +00:00
TabContext.h Bug 1534395 - Rename TabChild to BrowserChild. r=nika 2019-04-09 17:39:01 -05:00
TabMessageUtils.cpp Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
TabMessageUtils.h Bug 1493225, part 2 - Cancel content JS when navigating through history to prevent hangs r=smaug 2019-04-30 23:31:36 +00:00
URLClassifierChild.h Bug 1536372 - Get rid of PURLClassifierInfo MaybeInfo, r=dimi 2019-03-19 09:31:07 +00:00
URLClassifierParent.cpp Bug 1545033 - P1. Pass matched hash values to ProcessChannel. r=baku 2019-04-26 13:02:35 +00:00
URLClassifierParent.h Bug 1534395 - Unified build fixes. r=nika 2019-04-09 17:38:11 -05:00
WindowGlobalActor.cpp Bug 1552268 - Allow omitting moduleURI for JSWindowActor declarations; r=nika 2019-05-22 16:56:19 +00:00
WindowGlobalActor.h Bug 1539147 - Part 2: Refactor WindowGlobalParent and WindowGlobalChild; r=nika 2019-05-03 18:12:55 +00:00
WindowGlobalChild.cpp Bug 1538979 - Part 1: Clear mManager in ActorDestroy and disallow sending message while Destroying; r=nika 2019-05-10 15:01:33 +00:00
WindowGlobalChild.h Bug 1539147 - Part 2: Refactor WindowGlobalParent and WindowGlobalChild; r=nika 2019-05-03 18:12:55 +00:00
WindowGlobalParent.cpp Bug 1540839 - Add ability to preserve browsing contexts between FrameLoaders; r=nika 2019-05-14 10:51:04 -07:00
WindowGlobalParent.h Bug 1525720, part 13 - Stop inheriting nsIRemoteTab interface in BrowserParent. r=nika 2019-05-08 14:34:47 -05:00
components.conf Bug 1510569 - Reimplement RemoteWebProgressRequest as an XPCOM component in C++ r=Ehsan 2019-04-03 17:31:07 +00:00
jar.mn Bug 1479313: Don't load manifestMessages.js until needed. r=felipe 2018-07-29 13:18:26 -07:00
moz.build Bug 1550783 - Split JSWindowActor test into small pieces; r=nika 2019-05-14 21:23:15 +00:00
nsIHangReport.idl
nsIRemoteWebProgress.idl Bug 1510569 - Reimplement RemoteWebProgress as an XPCOM component in C++ r=Ehsan 2019-04-03 17:30:40 +00:00
nsIRemoteWebProgressRequest.idl Bug 1510569 - Reimplement RemoteWebProgressRequest as an XPCOM component in C++ r=Ehsan 2019-04-03 17:31:07 +00:00
remote-test.js Bug 1508990 - Enable ESLint for dom/ipc/ (manual changes) r=Standard8,mrbkap 2018-12-13 00:45:24 +00:00
test.xul Bug 1537622 - fix various minor eslint issues in XUL files, r=Standard8 2019-04-05 12:18:24 +00:00