gecko-dev/dom/xhr
Kershaw Chang 6d782a5e1e Bug 1546185 - Also check mEventDispatchingSuspended to see if we are in sync event loop r=baku
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
2019-10-01 11:31:43 +00:00
..
tests Bug 1546185 - Also check mEventDispatchingSuspended to see if we are in sync event loop r=baku 2019-10-01 11:31:43 +00:00
XMLHttpRequest.cpp
XMLHttpRequest.h
XMLHttpRequestEventTarget.cpp
XMLHttpRequestEventTarget.h
XMLHttpRequestMainThread.cpp Bug 1546185 - Also check mEventDispatchingSuspended to see if we are in sync event loop r=baku 2019-10-01 11:31:43 +00:00
XMLHttpRequestMainThread.h Bug 1548373: Report Open stacks for XHR responses. r=mayhemer,julienw 2019-09-11 15:33:00 +00:00
XMLHttpRequestString.cpp
XMLHttpRequestString.h
XMLHttpRequestUpload.cpp
XMLHttpRequestUpload.h
XMLHttpRequestWorker.cpp Bug 1548373: Report Open stacks for XHR responses. r=mayhemer,julienw 2019-09-11 15:33:00 +00:00
XMLHttpRequestWorker.h
moz.build