зеркало из https://github.com/mozilla/gecko-dev.git
6d782a5e1e
Only useing `mFlagSyncLooping` to check if the current code is in sync event loop is not enough. The crashtest in this patch shows that `mFlagSyncLooping` is set to false in OnStopReequets while we are still in sync event loop. `mEventDispatchingSuspended` is set to true right before calling `SpinEventLoopUntil` and set to false after, so we should also use it to check if `SpinEventLoopUntil` is finished. Differential Revision: https://phabricator.services.mozilla.com/D47240 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
tests | ||
XMLHttpRequest.cpp | ||
XMLHttpRequest.h | ||
XMLHttpRequestEventTarget.cpp | ||
XMLHttpRequestEventTarget.h | ||
XMLHttpRequestMainThread.cpp | ||
XMLHttpRequestMainThread.h | ||
XMLHttpRequestString.cpp | ||
XMLHttpRequestString.h | ||
XMLHttpRequestUpload.cpp | ||
XMLHttpRequestUpload.h | ||
XMLHttpRequestWorker.cpp | ||
XMLHttpRequestWorker.h | ||
moz.build |