зеркало из https://github.com/mozilla/gecko-dev.git
cf23208d84
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 |
||
---|---|---|
.. | ||
base | ||
events | ||
geolocation | ||
html | ||
notification | ||
payments | ||
push | ||
security | ||
sidebar | ||
storage | ||
xul |