gecko-dev/dom/xhr/tests
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
..
crashtests Bug 1546185 - Also check mEventDispatchingSuspended to see if we are in sync event loop r=baku 2019-10-01 11:31:43 +00:00
subdir Bug 1532933 - Enable ESLint for dom/xhr (manual changes). r=Standard8,baku 2019-09-15 13:07:10 +00:00
.eslintrc.js
browser.ini Bug 1566182: Annotate mochitests that fail with Fission enabled. r=mccr8 2019-07-15 16:19:32 -07:00
browser_blobFromFile.js Bug 1532933 - Enable ESLint for dom/xhr (automatic changes). r=Standard8,baku 2019-09-16 07:01:07 +00:00
browser_temporaryFile.js Bug 1532933 - Enable ESLint for dom/xhr (automatic changes). r=Standard8,baku 2019-09-16 07:01:07 +00:00
browser_xhr_onchange_leak.html
browser_xhr_onchange_leak.js Bug 1532933 - Enable ESLint for dom/xhr (automatic changes). r=Standard8,baku 2019-09-16 07:01:07 +00:00
browser_xhr_substituted_protocol_responseURL.js Bug 1532933 - Enable ESLint for dom/xhr (automatic changes). r=Standard8,baku 2019-09-16 07:01:07 +00:00
common_temporaryFileBlob.js Bug 1532933 - Enable ESLint for dom/xhr (automatic changes). r=Standard8,baku 2019-09-16 07:01:07 +00:00
echo.sjs
empty.html
file_XHRDocURI.html
file_XHRDocURI.html^headers^
file_XHRDocURI.sjs
file_XHRDocURI.text
file_XHRDocURI.text^headers^
file_XHRDocURI.xml
file_XHRDocURI.xml^headers^
file_XHRResponseURL.js Bug 1532933 - Enable ESLint for dom/xhr (automatic changes). r=Standard8,baku 2019-09-16 07:01:07 +00:00
file_XHRResponseURL.sjs
file_XHRResponseURL.text
file_XHRResponseURL.text^headers^
file_XHRResponseURL_nocors.text
file_XHRSendData.sjs
file_XHRSendData_doc.xml
file_XHRSendData_doc.xml^headers^
file_XHR_anon.sjs
file_XHR_binary1.bin
file_XHR_binary1.bin^headers^
file_XHR_binary2.bin
file_XHR_fail1.txt
file_XHR_fail1.txt^headers^
file_XHR_fail1b.txt
file_XHR_header.sjs
file_XHR_pass1.xml
file_XHR_pass2.txt
file_XHR_pass3.txt
file_XHR_pass3.txt^headers^
file_XHR_system_redirect.html
file_XHR_system_redirect.html^headers^
file_XHR_timeout.sjs
file_html_in_xhr.html
file_html_in_xhr.sjs
file_html_in_xhr2.html
file_html_in_xhr3.html
file_sync_xhr_document_write_with_iframe.html Bug 1532933 - Enable ESLint for dom/xhr (manual changes). r=Standard8,baku 2019-09-15 13:07:10 +00:00
iframe_sync_xhr_unload.html
mochitest.ini Bug 1551226 - Run Android x86_64 7.0/debug mochitests; r=snorp 2019-05-13 20:52:36 +00:00
progressserver.sjs
relativeLoad_import.js
relativeLoad_worker.js Bug 1532933 - Enable ESLint for dom/xhr (automatic changes). r=Standard8,baku 2019-09-16 07:01:07 +00:00
relativeLoad_worker2.js Bug 1532933 - Enable ESLint for dom/xhr (manual changes). r=Standard8,baku 2019-09-15 13:07:10 +00:00
responseIdentical.sjs
slow.sjs
sync_xhr_unload.sjs
temporaryFileBlob.sjs Bug 1566595. Stop using [array] in nsIBinaryOutputStream. r=froydnj 2019-07-22 20:27:39 +00:00
terminateSyncXHR_worker.js Bug 1532933 - Enable ESLint for dom/xhr (automatic changes). r=Standard8,baku 2019-09-16 07:01:07 +00:00
test_XHR.html Bug 1532933 - Enable ESLint for dom/xhr (manual changes). r=Standard8,baku 2019-09-15 13:07:10 +00:00
test_XHRDocURI.html Bug 1532933 - Enable ESLint for dom/xhr (manual changes). r=Standard8,baku 2019-09-15 13:07:10 +00:00
test_XHRResponseURL.html Bug 1532933 - Enable ESLint for dom/xhr (automatic changes). r=Standard8,baku 2019-09-16 07:01:07 +00:00
test_XHRSendData.html Bug 1532933 - Enable ESLint for dom/xhr (manual changes). r=Standard8,baku 2019-09-15 13:07:10 +00:00
test_XHR_anon.html Bug 1532933 - Enable ESLint for dom/xhr (automatic changes). r=Standard8,baku 2019-09-16 07:01:07 +00:00
test_XHR_header.html Bug 1544322 - Part 2.2 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in dom/ r=bzbarsky 2019-04-16 03:53:28 +00:00
test_XHR_onuploadprogress.html Bug 1544322 - Part 2.2 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in dom/ r=bzbarsky 2019-04-16 03:53:28 +00:00
test_XHR_parameters.html Bug 1532933 - Enable ESLint for dom/xhr (manual changes). r=Standard8,baku 2019-09-15 13:07:10 +00:00
test_XHR_system.html Bug 1544322 - Part 2.2 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in dom/ r=bzbarsky 2019-04-16 03:53:28 +00:00
test_XHR_timeout.html Bug 1532933 - Enable ESLint for dom/xhr (automatic changes). r=Standard8,baku 2019-09-16 07:01:07 +00:00
test_XHR_timeout.js Bug 1532933 - Enable ESLint for dom/xhr (automatic changes). r=Standard8,baku 2019-09-16 07:01:07 +00:00
test_bug1070763.html Bug 1544322 - Part 2.2 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in dom/ r=bzbarsky 2019-04-16 03:53:28 +00:00
test_bug1300552.html Bug 1544322 - Part 2.2 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in dom/ r=bzbarsky 2019-04-16 03:53:28 +00:00
test_event_listener_leaks.html Bug 1532933 - Enable ESLint for dom/xhr (manual changes). r=Standard8,baku 2019-09-15 13:07:10 +00:00
test_html_in_xhr.html Bug 1544322 - Part 2.2 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in dom/ r=bzbarsky 2019-04-16 03:53:28 +00:00
test_nestedSyncXHR.html Bug 1544322 - Part 2.2 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in dom/ r=bzbarsky 2019-04-16 03:53:28 +00:00
test_relativeLoad.html Bug 1532933 - Enable ESLint for dom/xhr (manual changes). r=Standard8,baku 2019-09-15 13:07:10 +00:00
test_sync_xhr_document_write_with_iframe.html Bug 1544322 - Part 2.2 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in dom/ r=bzbarsky 2019-04-16 03:53:28 +00:00
test_sync_xhr_timer.xhtml Bug 1544322 - Part 2.2 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in dom/ r=bzbarsky 2019-04-16 03:53:28 +00:00
test_sync_xhr_unload.html Bug 1544322 - Part 2.2 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in dom/ r=bzbarsky 2019-04-16 03:53:28 +00:00
test_temporaryFileBlob.html Bug 1544322 - Part 2.2 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in dom/ r=bzbarsky 2019-04-16 03:53:28 +00:00
test_worker_terminateSyncXHR.html Bug 1544322 - Part 2.2 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in dom/ r=bzbarsky 2019-04-16 03:53:28 +00:00
test_worker_xhr.html Bug 1532933 - Enable ESLint for dom/xhr (manual changes). r=Standard8,baku 2019-09-15 13:07:10 +00:00
test_worker_xhr2.html Bug 1544322 - Part 2.2 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in dom/ r=bzbarsky 2019-04-16 03:53:28 +00:00
test_worker_xhrAbort.html Bug 1544322 - Part 2.2 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in dom/ r=bzbarsky 2019-04-16 03:53:28 +00:00
test_worker_xhr_3rdparty.html Bug 1544322 - Part 2.2 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in dom/ r=bzbarsky 2019-04-16 03:53:28 +00:00
test_worker_xhr_cors_redirect.html Bug 1544322 - Part 2.2 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in dom/ r=bzbarsky 2019-04-16 03:53:28 +00:00
test_worker_xhr_headers.html
test_worker_xhr_implicit_cancel.html Bug 1544322 - Part 2.2 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in dom/ r=bzbarsky 2019-04-16 03:53:28 +00:00
test_worker_xhr_parameters.html Bug 1532933 - Enable ESLint for dom/xhr (manual changes). r=Standard8,baku 2019-09-15 13:07:10 +00:00
test_worker_xhr_parameters.js Bug 1532933 - Enable ESLint for dom/xhr (automatic changes). r=Standard8,baku 2019-09-16 07:01:07 +00:00
test_worker_xhr_responseURL.html Bug 1532933 - Enable ESLint for dom/xhr (automatic changes). r=Standard8,baku 2019-09-16 07:01:07 +00:00
test_worker_xhr_system.html Bug 1532933 - Enable ESLint for dom/xhr (manual changes). r=Standard8,baku 2019-09-15 13:07:10 +00:00
test_worker_xhr_system.js Bug 1532933 - Enable ESLint for dom/xhr (automatic changes). r=Standard8,baku 2019-09-16 07:01:07 +00:00
test_worker_xhr_timeout.html Bug 1532933 - Enable ESLint for dom/xhr (automatic changes). r=Standard8,baku 2019-09-16 07:01:07 +00:00
test_xhr_abort_after_load.html Bug 1544322 - Part 2.2 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in dom/ r=bzbarsky 2019-04-16 03:53:28 +00:00
test_xhr_forbidden_headers.html Bug 1532933 - Enable ESLint for dom/xhr (manual changes). r=Standard8,baku 2019-09-15 13:07:10 +00:00
test_xhr_overridemimetype_throws_on_invalid_state.html Bug 1544322 - Part 2.2 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in dom/ r=bzbarsky 2019-04-16 03:53:28 +00:00
test_xhr_progressevents.html Bug 1532933 - Enable ESLint for dom/xhr (manual changes). r=Standard8,baku 2019-09-15 13:07:10 +00:00
test_xhr_send.html Bug 1532933 - Enable ESLint for dom/xhr (automatic changes). r=Standard8,baku 2019-09-16 07:01:07 +00:00
test_xhr_send_readystate.html Bug 1544322 - Part 2.2 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in dom/ r=bzbarsky 2019-04-16 03:53:28 +00:00
test_xhr_withCredentials.html Bug 1532933 - Enable ESLint for dom/xhr (manual changes). r=Standard8,baku 2019-09-15 13:07:10 +00:00
window_worker_xhr_3rdparty.html Bug 1532933 - Enable ESLint for dom/xhr (manual changes). r=Standard8,baku 2019-09-15 13:07:10 +00:00
worker_bug1300552.js Bug 1532933 - Enable ESLint for dom/xhr (automatic changes). r=Standard8,baku 2019-09-16 07:01:07 +00:00
worker_file_getcookie.sjs
worker_temporaryFileBlob.js Bug 1532933 - Enable ESLint for dom/xhr (automatic changes). r=Standard8,baku 2019-09-16 07:01:07 +00:00
worker_terminateSyncXHR_frame.html
worker_testXHR.txt
worker_xhr_cors_redirect.js Bug 1532933 - Enable ESLint for dom/xhr (automatic changes). r=Standard8,baku 2019-09-16 07:01:07 +00:00
worker_xhr_cors_redirect.sjs
worker_xhr_headers_server.sjs
worker_xhr_headers_worker.js Bug 1532933 - Enable ESLint for dom/xhr (automatic changes). r=Standard8,baku 2019-09-16 07:01:07 +00:00
xhr2_worker.js Bug 1532933 - Enable ESLint for dom/xhr (automatic changes). r=Standard8,baku 2019-09-16 07:01:07 +00:00
xhrAbort_worker.js Bug 1532933 - Enable ESLint for dom/xhr (automatic changes). r=Standard8,baku 2019-09-16 07:01:07 +00:00
xhr_implicit_cancel_worker.js
xhr_worker.js Bug 1532933 - Enable ESLint for dom/xhr (automatic changes). r=Standard8,baku 2019-09-16 07:01:07 +00:00