Headers no longer have to be ASCII or UTF-8, though there is some disagreement with http::header::HeaderValue

This commit is contained in:
Patrick Shaughnessy 2019-12-20 20:04:41 -05:00
parent 3e77a0ae09
commit 0c08849d1c
6 changed files with 55 additions and 123 deletions

View file

@ -1,23 +0,0 @@
[request-forbidden-headers.any.html]
type: testharness
[Accept-Encoding is a forbidden request header]
expected: FAIL
[Access-Control-Request-Headers is a forbidden request header]
expected: FAIL
[Access-Control-Request-Method is a forbidden request header]
expected: FAIL
[request-forbidden-headers.any.worker.html]
type: testharness
[Accept-Encoding is a forbidden request header]
expected: FAIL
[Access-Control-Request-Headers is a forbidden request header]
expected: FAIL
[Access-Control-Request-Method is a forbidden request header]
expected: FAIL

View file

@ -48,15 +48,6 @@
[fetch() with value %08]
expected: FAIL
[fetch() with value %09]
expected: FAIL
[fetch() with value %0A]
expected: FAIL
[fetch() with value %0D]
expected: FAIL
[XMLHttpRequest with value %0E]
expected: FAIL
@ -164,7 +155,3 @@
[fetch() with value %1F]
expected: FAIL
[fetch() with value %20]
expected: FAIL

View file

@ -1,10 +1,4 @@
[headers-no-cors.window.html]
["no-cors" Headers object cannot have accept-language/\x01 as header]
expected: FAIL
["no-cors" Headers object cannot have content-language/\x01 as header]
expected: FAIL
["no-cors" Headers object cannot have content-type set to text/plain;ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss, text/plain]
expected: FAIL

View file

@ -1,5 +0,0 @@
[request-headers.html]
type: testharness
[Testing empty Request Content-Type header]
expected: FAIL

View file

@ -3,9 +3,6 @@
[Read Response's body as readableStream]
expected: FAIL
[Testing empty Response Content-Type header]
expected: FAIL
[Testing null Response body]
expected: FAIL