gecko-dev/dom/xhr/tests
Kris Maglione 0b1a146519 Bug 1596918: Part 4c - Fix callers which depend on document lifecycle changes. r=mccr8
ContentTask tasks have a different lifetime than SpecialPowers tasks, with the
former being tied to the lifetime of a message manager and the latter tied to
the lifetime of a window global. That means that existing ContentTask callers
which expect to be able to register load listeners before the creation of a
window global, or which expect to persist after a page has navigated, won't
work as SpecialPowers tasks.

Since those sorts of tasks are not really resilient in the face of Fission,
they should really be written to work differently, but this patch mostly just
reverts them to using ContentTask for the time being.

Differential Revision: https://phabricator.services.mozilla.com/D53744

--HG--
extra : moz-landing-system : lando
2019-12-13 20:36:36 +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_blobFromFile.js Bug 1596918: Part 3a - Scripted rewrite of most ContentTask.spawn calls to SpecialPowers.spawn calls. r=mccr8,remote-protocol-reviewers,ato 2019-12-13 20:36:16 +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 1596918: Part 4c - Fix callers which depend on document lifecycle changes. r=mccr8 2019-12-13 20:36:36 +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
browser.ini Bug 1588618 - Make browser_xhr_onchange_leak.js Fission-compatible. r=smaug 2019-11-06 23:14:19 +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_html_in_xhr2.html
file_html_in_xhr3.html
file_html_in_xhr.html
file_html_in_xhr.sjs
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
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_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_nocors.text
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_XHRSendData_doc.xml
file_XHRSendData_doc.xml^headers^
file_XHRSendData.sjs
iframe_sync_xhr_unload.html
mochitest.ini Bug 1591579 - Test for XHR on sharedWorkers, r=smaug 2019-11-04 15:38:06 +00:00
progressserver.sjs
relativeLoad_import.js
relativeLoad_worker2.js Bug 1532933 - Enable ESLint for dom/xhr (manual changes). r=Standard8,baku 2019-09-15 13:07:10 +00:00
relativeLoad_worker.js Bug 1532933 - Enable ESLint for dom/xhr (automatic changes). r=Standard8,baku 2019-09-16 07:01:07 +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_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_sharedworker_xhr.html Bug 1591579 - Test for XHR on sharedWorkers, r=smaug 2019-11-04 15:38:06 +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_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_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_doubleSend.html Bug 1588248 - XHR.send() on workers must throw an InvalidStateError if called during another xhr.send(), r=smaug 2019-10-22 05:19:46 +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_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_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_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_anon.html Bug 1532933 - Enable ESLint for dom/xhr (automatic changes). r=Standard8,baku 2019-09-16 07:01:07 +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_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_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_parameters.html Bug 1532933 - Enable ESLint for dom/xhr (manual changes). r=Standard8,baku 2019-09-15 13:07:10 +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_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_send.html Bug 1532933 - Enable ESLint for dom/xhr (automatic changes). r=Standard8,baku 2019-09-16 07:01:07 +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_xhr_withCredentials.html Bug 1532933 - Enable ESLint for dom/xhr (manual changes). r=Standard8,baku 2019-09-15 13:07:10 +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
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
xhr_implicit_cancel_worker.js
xhr_sharedworker.js Bug 1591579 - Test for XHR on sharedWorkers, r=smaug 2019-11-04 15:38:06 +00:00
xhr_worker_doubleSend.js Bug 1588248 - XHR.send() on workers must throw an InvalidStateError if called during another xhr.send(), r=smaug 2019-10-22 05:19:46 +00:00
xhr_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