gecko-dev/testing/web-platform/tests/xhr
Philip Jägenstedt 012380465d Bug 1463682 [wpt PR 11116] - Run autopep8 on *.py in cors, fetch and xhr, a=testonly
Automatic update from web-platform-testsRun autopep8 on *.py in cors, fetch and xhr (#11116)

```
find cors fetch xhr -name '*.py' | xargs autopep8 --in-place --max-line-length 1000
```

Then manually pick the "good" changes, ignoring some whitespace stuff.
--

wpt-commits: 15b8e55fa2a0fbf0851cb8e0846e0320e319c852
wpt-pr: 11116
2018-06-05 15:14:50 +01:00
..
resources Bug 1463682 [wpt PR 11116] - Run autopep8 on *.py in cors, fetch and xhr, a=testonly 2018-06-05 15:14:50 +01:00
abort-after-receive.htm
abort-after-send.htm
abort-after-stop.htm Bug 1463077 [wpt PR 11091] - Wait until window load before calling window.stop() in XHR test, a=testonly 2018-05-22 09:40:49 +00:00
abort-after-timeout.htm
abort-during-done.htm
abort-during-headers-received.htm
abort-during-loading.htm
abort-during-open.any.js Bug 1457932 [wpt PR 10711] - XMLHttpRequest: remove some unneeded boilerplate resources, a=testonly 2018-05-02 07:49:23 +01:00
abort-during-unsent.htm
abort-during-upload.htm
abort-event-abort.htm
abort-event-listeners.htm
abort-event-loadend.htm
abort-event-order.htm
abort-upload-event-abort.htm
abort-upload-event-loadend.htm
access-control-and-redirects-async-same-origin.htm
access-control-and-redirects-async.htm
access-control-and-redirects.htm
access-control-basic-allow-access-control-origin-header-data-url.htm
access-control-basic-allow-access-control-origin-header.htm
access-control-basic-allow-async.htm
access-control-basic-allow-non-cors-safelisted-method-async.htm
access-control-basic-allow-non-cors-safelisted-method.htm
access-control-basic-allow-preflight-cache-invalidation-by-header.htm
access-control-basic-allow-preflight-cache-invalidation-by-method.htm
access-control-basic-allow-preflight-cache-timeout.htm
access-control-basic-allow-preflight-cache.htm
access-control-basic-allow-star.htm
access-control-basic-allow.htm
access-control-basic-cors-safelisted-request-headers.htm
access-control-basic-cors-safelisted-response-headers.htm
access-control-basic-denied.htm Bug 1460011 [wpt PR 10903] - XHR: reduce try/catch usage, a=testonly 2018-05-18 11:15:13 +01:00
access-control-basic-get-fail-non-simple.htm Bug 1460011 [wpt PR 10903] - XHR: reduce try/catch usage, a=testonly 2018-05-18 11:15:13 +01:00
access-control-basic-non-cors-safelisted-content-type.htm Bug 1460011 [wpt PR 10903] - XHR: reduce try/catch usage, a=testonly 2018-05-18 11:15:13 +01:00
access-control-basic-post-success-no-content-type.htm
access-control-basic-post-with-non-cors-safelisted-content-type.htm Bug 1460011 [wpt PR 10903] - XHR: reduce try/catch usage, a=testonly 2018-05-18 11:15:13 +01:00
access-control-basic-preflight-denied.htm
access-control-preflight-async-header-denied.htm
access-control-preflight-async-method-denied.htm
access-control-preflight-async-not-supported.htm
access-control-preflight-credential-async.htm
access-control-preflight-credential-sync.htm
access-control-preflight-headers-async.htm
access-control-preflight-headers-sync.htm
access-control-preflight-request-header-lowercase.htm
access-control-preflight-request-header-sorted.htm
access-control-preflight-request-headers-origin.htm
access-control-preflight-request-invalid-status-301.htm
access-control-preflight-request-invalid-status-400.htm
access-control-preflight-request-invalid-status-501.htm
access-control-preflight-request-must-not-contain-cookie.htm
access-control-preflight-sync-header-denied.htm Bug 1460011 [wpt PR 10903] - XHR: reduce try/catch usage, a=testonly 2018-05-18 11:15:13 +01:00
access-control-preflight-sync-method-denied.htm Bug 1460011 [wpt PR 10903] - XHR: reduce try/catch usage, a=testonly 2018-05-18 11:15:13 +01:00
access-control-preflight-sync-not-supported.htm Bug 1460011 [wpt PR 10903] - XHR: reduce try/catch usage, a=testonly 2018-05-18 11:15:13 +01:00
access-control-recursive-failed-request.htm
access-control-response-with-body-sync.htm
access-control-response-with-body.htm
access-control-response-with-exposed-headers.htm
access-control-sandboxed-iframe-allow-origin-null.htm
access-control-sandboxed-iframe-allow.htm
access-control-sandboxed-iframe-denied-without-wildcard.htm
access-control-sandboxed-iframe-denied.htm
allow-lists-starting-with-comma.htm
anonymous-mode-unsupported.htm
close-worker-with-xhr-in-progress.html Bug 1454520 [wpt PR 10497] - Try to fix crash when terminating a worker while it is XHR-ing to a blob., a=testonly 2018-05-02 07:47:37 +01:00
data-uri.htm
event-abort.htm
event-error-order.sub.html Bug 1459723 [wpt PR 10878] - Improve definition of non-existent origin, a=testonly 2018-05-18 11:15:13 +01:00
event-error.sub.html Bug 1459723 [wpt PR 10878] - Improve definition of non-existent origin, a=testonly 2018-05-18 11:15:13 +01:00
event-load.htm
event-loadend.htm
event-loadstart-upload.htm
event-loadstart.htm
event-progress.htm
event-readystate-sync-open.htm
event-readystatechange-loaded.htm
event-timeout-order.htm
event-timeout.htm
event-upload-progress-crossorigin.htm
event-upload-progress.htm
firing-events-http-content-length.html Bug 1456443 [wpt PR 10596] - XMLHttpRequest: cleanup some tests, a=testonly 2018-04-30 14:36:19 +00:00
firing-events-http-no-content-length.html Bug 1456443 [wpt PR 10596] - XMLHttpRequest: cleanup some tests, a=testonly 2018-04-30 14:36:19 +00:00
folder.txt
FormData-append.html
formdata-blob.htm
formdata-delete.htm
formdata-foreach.html
formdata-get.htm
formdata-has.htm
formdata-set.htm
formdata.htm
getallresponseheaders-cookies.htm
getallresponseheaders-status.htm
getallresponseheaders.htm
getresponseheader-case-insensitive.htm
getresponseheader-chunked-trailer.htm
getresponseheader-cookies-and-more.htm
getresponseheader-error-state.htm
getresponseheader-server-date.htm
getresponseheader-special-characters.htm
getresponseheader-unsent-opened-state.htm
header-user-agent-async.htm Bug 1451598 [wpt PR 10326] - Add tests to check that the User-Agent header is set for XHR requests, a=testonly 2018-04-15 09:29:26 +01:00
header-user-agent-sync.htm Bug 1451598 [wpt PR 10326] - Add tests to check that the User-Agent header is set for XHR requests, a=testonly 2018-04-15 09:29:26 +01:00
headers-normalize-response.htm
historical.html
interfaces.html
loadstart-and-state.html
no-utf16-json.htm
open-after-abort.htm
open-after-setrequestheader.htm
open-during-abort-event.htm
open-during-abort-processing.htm
open-during-abort.htm
open-method-bogus.htm
open-method-case-insensitive.htm
open-method-case-sensitive.htm
open-method-insecure.htm
open-method-responsetype-set-sync.htm
open-open-send.htm
open-open-sync-send.htm
open-parameters-toString.htm Bug 1441687 [wpt PR 9696] - add XHR.prototype.open parameter toString test, a=testonly 2018-03-31 22:29:02 +01:00
open-referer.htm
open-send-during-abort.htm
open-send-open.htm
open-sync-open-send.htm
open-url-about-blank-window.htm
open-url-base-inserted-after-open.htm
open-url-base-inserted.htm
open-url-base.htm
open-url-encoding.htm Bug 1460230 [wpt PR 10915] - URL/Encoding: change query state parsing, a=testonly 2018-06-05 15:14:37 +01:00
open-url-fragment.htm
open-url-javascript-window-2.htm
open-url-javascript-window.htm
open-url-multi-window-2.htm
open-url-multi-window-3.htm
open-url-multi-window-4.htm
open-url-multi-window-5.htm
open-url-multi-window-6.htm
open-url-multi-window.htm
open-url-redirected-worker-origin.htm
open-url-worker-origin.htm
open-url-worker-simple.htm
open-user-password-non-same-origin.htm
overridemimetype-blob.html Bug 1452928 [wpt PR 8449] - Add more XMLHttpRequest overrideMimeType() tests, a=testonly 2018-04-26 14:51:07 +00:00
overridemimetype-done-state.htm
overridemimetype-edge-cases.window.js Bug 1452928 [wpt PR 8449] - Add more XMLHttpRequest overrideMimeType() tests, a=testonly 2018-04-26 14:51:07 +00:00
overridemimetype-headers-received-state-force-shiftjis.htm
overridemimetype-invalid-mime-type.htm
overridemimetype-loading-state.htm
overridemimetype-open-state-force-utf-8.htm
overridemimetype-open-state-force-xml.htm
overridemimetype-unsent-state-force-shiftjis.htm
OWNERS
preserve-ua-header-on-redirect.htm
progress-events-response-data-gzip.htm
progressevent-constructor.html
progressevent-interface.html
README.md
response-data-arraybuffer.htm
response-data-blob.htm
response-data-deflate.htm
response-data-gzip.htm
response-data-progress.htm
response-invalid-responsetype.htm
response-json.htm
response-method.htm
responsedocument-decoding.htm
responsetext-decoding.htm Bug 1452928 [wpt PR 8449] - Add more XMLHttpRequest overrideMimeType() tests, a=testonly 2018-04-26 14:51:07 +00:00
responseText-status.html
responseType-document-in-worker.html
responsetype.html
responseurl.html
responsexml-basic.htm
responsexml-document-properties.htm Bug 1415588 part 3. Move the .links getter from HTMLDocument to Document. r=mystor 2018-03-12 21:44:56 -04:00
responsexml-get-twice.htm
responsexml-media-type.htm
responsexml-non-document-types.htm
responsexml-non-well-formed.htm
responseXML-unavailable-in-worker.html
security-consideration.sub.html
send-accept-language.htm
send-accept.htm
send-after-setting-document-domain.htm
send-authentication-basic-cors-not-enabled.htm
send-authentication-basic-cors.htm
send-authentication-basic-repeat-no-args.htm
send-authentication-basic-setrequestheader-and-arguments.htm
send-authentication-basic-setrequestheader-existing-session.htm
send-authentication-basic-setrequestheader.htm
send-authentication-basic.htm
send-authentication-competing-names-passwords.htm Bug 1453366 [wpt PR 10419] - XMLHttpRequest: align username/password test with the standard, a=testonly 2018-04-30 14:36:15 +00:00
send-authentication-cors-basic-setrequestheader.htm
send-authentication-cors-setrequestheader-no-cred.htm
send-authentication-existing-session-manual.htm
send-authentication-prompt-2-manual.htm
send-authentication-prompt-manual.htm
send-blob-with-no-mime-type.html
send-conditional-cors.htm
send-conditional.htm
send-content-type-charset.htm Bug 1452941 [wpt PR 8422] - Adjust XMLHttpRequest Content-Type handling, a=testonly 2018-04-26 14:51:01 +00:00
send-content-type-string.htm
send-data-arraybuffer.htm
send-data-arraybufferview.htm
send-data-blob.htm
send-data-es-object.htm
send-data-formdata.htm
send-data-unexpected-tostring.htm
send-entity-body-basic.htm
send-entity-body-document-bogus.htm
send-entity-body-document.htm
send-entity-body-empty.htm
send-entity-body-get-head-async.htm
send-entity-body-get-head.htm
send-entity-body-none.htm
send-network-error-async-events.sub.htm Bug 1459723 [wpt PR 10878] - Improve definition of non-existent origin, a=testonly 2018-05-18 11:15:13 +01:00
send-network-error-sync-events.sub.htm Bug 1459723 [wpt PR 10878] - Improve definition of non-existent origin, a=testonly 2018-05-18 11:15:13 +01:00
send-no-response-event-loadend.htm
send-no-response-event-loadstart.htm
send-no-response-event-order.htm
send-non-same-origin.htm
send-receive-utf16.htm
send-redirect-bogus-sync.htm
send-redirect-bogus.htm
send-redirect-infinite-sync.htm
send-redirect-infinite.htm
send-redirect-no-location.htm
send-redirect-post-upload.htm
send-redirect-to-cors.htm
send-redirect-to-non-cors.htm
send-redirect.htm
send-response-event-order.htm
send-response-upload-event-loadend.htm
send-response-upload-event-loadstart.htm
send-response-upload-event-progress.htm
send-send.any.js Bug 1457932 [wpt PR 10711] - XMLHttpRequest: remove some unneeded boilerplate resources, a=testonly 2018-05-02 07:49:23 +01:00
send-sync-blocks-async.htm
send-sync-no-response-event-load.htm
send-sync-no-response-event-loadend.htm
send-sync-no-response-event-order.htm
send-sync-response-event-order.htm
send-sync-timeout.htm
send-timeout-events.htm Bug 1456443 [wpt PR 10596] - XMLHttpRequest: cleanup some tests, a=testonly 2018-04-30 14:36:19 +00:00
send-usp.any.js
setrequestheader-after-send.htm
setrequestheader-allow-empty-value.htm
setrequestheader-allow-whitespace-in-value.htm
setrequestheader-before-open.htm
setrequestheader-bogus-name.htm
setrequestheader-bogus-value.htm
setrequestheader-case-insensitive.htm
setrequestheader-content-type.htm
setrequestheader-header-allowed.htm
setrequestheader-header-forbidden.htm
setrequestheader-open-setrequestheader.htm
status-async.htm
status-basic.htm
status-error.htm
sync-no-progress.any.js Bug 1459867 [wpt PR 10887] - Verify sync XHR does not fire progress event, a=testonly 2018-05-16 15:04:45 +00:00
template-element.html
timeout-cors-async.htm
timeout-multiple-fetches.html
timeout-sync.htm
xmlhttprequest-basic.htm
xmlhttprequest-eventtarget.htm
xmlhttprequest-network-error-sync.htm
xmlhttprequest-network-error.htm
xmlhttprequest-sync-block-defer-scripts-subframe.html
xmlhttprequest-sync-block-defer-scripts.html
xmlhttprequest-sync-block-scripts.html
xmlhttprequest-sync-default-feature-policy.sub.html
xmlhttprequest-sync-not-hang-scriptloader-subframe.html
xmlhttprequest-sync-not-hang-scriptloader.html
xmlhttprequest-timeout-aborted.html
xmlhttprequest-timeout-abortedonmain.html
xmlhttprequest-timeout-overrides.html
xmlhttprequest-timeout-overridesexpires.html
xmlhttprequest-timeout-reused.html
xmlhttprequest-timeout-simple.html
xmlhttprequest-timeout-synconmain.html
xmlhttprequest-timeout-twice.html
xmlhttprequest-timeout-worker-aborted.html
xmlhttprequest-timeout-worker-overrides.html
xmlhttprequest-timeout-worker-overridesexpires.html
xmlhttprequest-timeout-worker-simple.html
xmlhttprequest-timeout-worker-synconworker.html
xmlhttprequest-timeout-worker-twice.html
xmlhttprequest-unsent.htm
XMLHttpRequest-withCredentials.any.js

Tests for the XMLHttpRequest Standard.

More XMLHttpRequest-related tests can be found in

  • /cors
  • /fetch
  • /url (failure.html in particular)