Name Description Size
accept-language.py 135
accept.py 114
access-control-allow-lists.py 907
access-control-allow-with-body.py 476
access-control-auth-basic.py 819
access-control-basic-allow-no-credentials.py 237
access-control-basic-allow-star.py 211
access-control-basic-allow.py 308
access-control-basic-cors-safelisted-request-headers.py 683
access-control-basic-cors-safelisted-response-headers.py 588
access-control-basic-denied.py 201
access-control-basic-options-not-supported.py 472
access-control-basic-preflight-cache-invalidation.py 1863
access-control-basic-preflight-cache-timeout.py 1898
access-control-basic-preflight-cache.py 1798
access-control-basic-put-allow.py 1038
access-control-cookie.py 631
access-control-origin-header.py 421
access-control-preflight-denied.py 1636
access-control-preflight-request-allow-headers-returns-star.py 526
access-control-preflight-request-header-lowercase.py 683
access-control-preflight-request-header-returns-origin.py 556
access-control-preflight-request-header-sorted.py 800
access-control-preflight-request-headers-origin.py 560
access-control-preflight-request-invalid-status.py 531
access-control-preflight-request-must-not-contain-cookie.py 609
access-control-sandboxed-iframe.html 480
auth1
auth2
auth3
auth4
auth5
auth6
auth7
auth8
auth9
auth10
auth11
authentication.py 1021
bad-chunk-encoding.py 580
base.xml 73
chunked.py 675
conditional.py 1059
content.py 829
corsenabled.py 1209
delay.py 263
echo-content-cors.py 1107
echo-content-type.py 259
echo-headers.py 406
echo-method.py HTTP/1.1 200 OK Content-type: text/plain Content-Length: {} {} 634
empty-div-utf8-html.py 164
folder.txt 7
form.py 119
get-set-cookie.py 627
gzip.py 838
header-content-length-twice.asis 58
header-content-length.asis 39
header-user-agent.py 648
headers-basic.asis 55
headers-double-empty.asis 48
headers-some-are-empty.asis 65
headers-www-authenticate.asis 82
headers.asis 91
headers.py 531
image.gif 167145
img-utf8-html.py 146
img.jpg 108761
infinite-redirects.py 873
init.htm support init file 415
inspect-headers.py 1599
invalid-utf8-html.py 142
last-modified.py 499
no-custom-header-on-preflight.py 981
nocors
over-1-meg.txt 1160000
parse-headers.py 217
pass.txt 5
redirect-cors.py 817
redirect.py 550
requri.py 133
reset-token.py 224
responseType-document-in-worker.js 293
responseXML-unavailable-in-worker.js 419
send-after-setting-document-domain-window-1.htm XMLHttpRequest: send() with document.domain set: loading documents from original origin after setting document.domain 1068
send-after-setting-document-domain-window-2.htm XMLHttpRequest: send() with document.domain set: loading documents from the origin document.domain was set to should throw 928
send-after-setting-document-domain-window-helper.js 863
shift-jis-html.py 235
status.py 436
top.txt 3
trickle.py 519
upload.py 788
utf16-bom.json 30
utf16.txt 18
well-formed.xml 127
win-1252-html.py 151
win-1252-xml.py 158
workerxhr-origin-referrer.js 1984
workerxhr-simple.js 246
xmlhttprequest-event-order.js 2927
xmlhttprequest-timeout-aborted.js This sets up three requests: The first request will only be open()ed, not aborted, timeout will be TIME_REGULAR_TIMEOUT but will never triggered because send() isn't called. After TIME_NORMAL_LOAD, the test asserts that no load/error/timeout/abort events fired Second request will be aborted immediately after send(), test asserts that abort fired Third request is set up to call abort() after TIME_NORMAL_LOAD, but it also has a TIME_REGULAR_TIMEOUT timeout. Asserts that timeout fired. (abort() is called later and should not fire an abort event per spec. This is untested!) 927
xmlhttprequest-timeout-abortedonmain.js This test sets up two requests: one that gets abort()ed from a 0ms timeout (0ms will obviously be clamped to whatever the implementation's minimal value is), asserts abort event fires one that will be aborted after TIME_DELAY, (with a timeout at TIME_REGULAR_TIMEOUT) asserts abort event fires. Does not assert that the timeout event does *not* fire. 522
xmlhttprequest-timeout-overrides.js Sets up three requests to a resource that will take 0.6 seconds to load: 1) timeout first set to TIME_NORMAL_LOAD, after TIME_REGULAR_TIMEOUT timeout is set to 0, asserts load fires 2) timeout first set to TIME_NORMAL_LOAD, after TIME_DELAY timeout is set to TIME_REGULAR_TIMEOUT, asserts load fires (race condition..?!?) 3) timeout first set to 0, after TIME_REGULAR_TIMEOUT it is set to TIME_REGULAR_TIMEOUT * 10, asserts load fires 923
xmlhttprequest-timeout-overridesexpires.js Starts three requests: 1) XHR to resource which will take a least TIME_XHR_LOAD ms with timeout initially set to TIME_NORMAL_LOAD ms. After TIME_LATE_TIMEOUT ms timeout is supposedly reset to TIME_DELAY ms, but the resource should have finished loading already. Asserts "load" fires. 2) XHR with initial timeout set to TIME_NORMAL_LOAD, after TIME_REGULAR_TIMEOUT sets timeout to TIME_DELAY+100. Asserts "timeout" fires. 3) XHR with initial timeout set to TIME_DELAY, after TIME_REGULAR_TIMEOUT sets timeout to 500ms. Asserts "timeout" fires (the change happens when timeout already fired and the request is done). 1179
xmlhttprequest-timeout-runner.js 570
xmlhttprequest-timeout-simple.js 354
xmlhttprequest-timeout-synconmain.js 177
xmlhttprequest-timeout-synconworker.js NOT TESTED: setting timeout before calling open( ... , false) in a worker context. The test code always calls open() first. 549
xmlhttprequest-timeout-twice.js 512
xmlhttprequest-timeout.js Test adapted from Alex Vincent's XHR2 timeout tests, written for Mozilla. https://hg.mozilla.org/mozilla-central/file/tip/content/base/test/ Released into the public domain or under BSD, according to https://bugzilla.mozilla.org/show_bug.cgi?id=525816#c86 8865
zlib.py 709