зеркало из https://github.com/mozilla/gecko-dev.git
5449ef6058
The nsBrowserStatusFilter flushes pending status and progress updates when an OnStateChange event for a STATE_STOP state is triggered. This may run its OnProgressChange and OnStatusChange listeners, which may in turn run arbitrary JavaScript or even remove the web progress listener from the filter. When this happens, we will continue to call the OnStateChange event handler on a listener that is now a nullptr, causing a crash. We now explicitly check that we still have a web progress listener before continuing and have renamed the ProcessTimeout function to a more descriptive name (CallDelayedProgressListeners) that indicates what it actually does. Differential Revision: https://phabricator.services.mozilla.com/D28123 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
moz.build | ||
nsBrowserStatusFilter.cpp | ||
nsBrowserStatusFilter.h |