Update hyper to 0.12

This commit is contained in:
Bastien Orivel 2018-08-27 18:36:52 +02:00
parent 95bfaa0a77
commit 024b40b39d
122 changed files with 3835 additions and 3448 deletions

View file

@ -10,7 +10,7 @@ use msg::constellation_msg::TEST_PIPELINE_ID;
use profile_traits::time::{ProfilerChan, TimerMetadata};
use servo_url::ServoUrl;
use time;
use webrender_api::{AlphaType, ImageDisplayItem, ImageKey, ImageRendering, LayoutSize, ColorF};
use webrender_api::{AlphaType, ColorF, ImageDisplayItem, ImageKey, ImageRendering, LayoutSize};
struct DummyProfilerMetadataFactory {}
impl ProfilerMetadataFactory for DummyProfilerMetadataFactory {

View file

@ -1,5 +1,4 @@
[access-control-expose-headers-parsing.window.html]
type: testharness
[Access-Control-Expose-Headers parsing: #1]
expected: FAIL

View file

@ -12,3 +12,18 @@
[Allow origin: [tab\]undefined//undefined]
expected: FAIL
[Allow origin: _*__]
expected: FAIL
[Allow origin: _http://web-platform.test:8000___[tab\]_]
expected: FAIL
[Disallow origin: HTTP://web-platform.test:8000]
expected: FAIL
[Disallow origin: http://web-platform.test:8000#]
expected: FAIL
[Disallow origin: http://web-platform.test:8000/]
expected: FAIL

View file

@ -0,0 +1,16 @@
[origin.htm]
[Allow origin: _*__]
expected: FAIL
[Allow origin: _http://web-platform.test:8000___[tab\]_]
expected: FAIL
[Disallow origin: HTTP://web-platform.test:8000]
expected: FAIL
[Disallow origin: http://web-platform.test:8000#]
expected: FAIL
[Disallow origin: http://web-platform.test:8000/]
expected: FAIL

View file

@ -20,12 +20,6 @@
[local (none) to remote (*), expect origin=undefined//undefined]
expected: FAIL
[remote (*) to local (*), expect origin=null]
expected: FAIL
[remote (*) to local (null), expect origin=null]
expected: FAIL
[remote (undefined//undefined) to local (*), expect origin=null]
expected: FAIL
@ -44,27 +38,9 @@
[remote (undefined//undefined) to remote (undefined//undefined), expect origin=undefined//undefined]
expected: FAIL
[remote (*) to remote2 (*), expect origin=null]
expected: FAIL
[remote (*) to remote2 (null), expect origin=null]
expected: FAIL
[remote (undefined//undefined) to remote2 (*), expect origin=null]
expected: FAIL
[remote (undefined//undefined) to remote2 (null), expect origin=null]
expected: FAIL
[remote (http://web-platform.test:8000) to local (*), expect origin=null]
expected: FAIL
[remote (http://web-platform.test:8000) to local (null), expect origin=null]
expected: FAIL
[remote (http://web-platform.test:8000) to remote2 (*), expect origin=null]
expected: FAIL
[remote (http://web-platform.test:8000) to remote2 (null), expect origin=null]
expected: FAIL

View file

@ -1,5 +0,0 @@
[redirect-userinfo.htm]
type: testharness
[Allow redirect without userinfo (:@ is trimmed during URL parsing)]
expected: FAIL

View file

@ -0,0 +1,4 @@
[request-headers.htm]
[Strange allowheaders (case insensitive)]
expected: FAIL

View file

@ -0,0 +1,37 @@
[status-async.htm]
[Status on POST 500]
expected: FAIL
[Status on HEAD 401]
expected: FAIL
[Status on POST 404]
expected: FAIL
[Status on GET 299]
expected: FAIL
[Status on GET 400]
expected: FAIL
[Status on GET 206]
expected: FAIL
[Status on GET 204]
expected: FAIL
[Status on GET 205]
expected: FAIL
[Status on GET 202]
expected: FAIL
[Status on GET 203]
expected: FAIL
[Status on GET 201]
expected: FAIL
[Status on GET 209]
expected: FAIL

View file

@ -0,0 +1,7 @@
[status-preflight.htm]
[CORS - status after preflight on HEAD 699]
expected: FAIL
[CORS - status after preflight on PUT 699]
expected: FAIL

View file

@ -1,3 +1,2 @@
[background-043.xht]
type: reftest
expected: FAIL

View file

@ -1,3 +1,5 @@
[background-048.xht]
type: reftest
[background-043.xht]
expected: FAIL
[background-048.xht]
expected: FAIL

View file

@ -1,3 +1,4 @@
[elementFromPoint-001.html]
[CSSOM View - 5 - extensions to the Document interface]
expected: FAIL

View file

@ -1,3 +1,4 @@
[elementFromPoint-dynamic-anon-box.html]
[Link should be clickable after hiding a scrollbox with an anonymous table inside]
expected: FAIL

View file

@ -0,0 +1,4 @@
[format-mime-trailing-semicolon.htm]
[EventSource: MIME type with trailing ;]
expected: FAIL

View file

@ -100,6 +100,8 @@
[Clone aborts with original controller]
expected: FAIL
[TypeError from request constructor takes priority - RequestInit's method is invalid]
expected: FAIL
[general.any.html]
type: testharness
@ -142,6 +144,8 @@
expected: FAIL
[TypeError from request constructor takes priority - Bad redirect init parameter value]
expected: FAIL
[TypeError from request constructor takes priority - RequestInit's method is invalid]
expected: FAIL
[Request objects have a signal property]
expected: FAIL
[Signal on request object]

View file

@ -24,8 +24,4 @@
[cors-cookies-redirect]
expected: FAIL
[Testing credentials after cross-origin redirection with CORS and no preflight]
expected: FAIL
[Testing credentials after cross-origin redirection with CORS and preflight]
expected: FAIL

View file

@ -3,93 +3,33 @@
[Redirect 301: cors to same cors]
expected: FAIL
[Redirect 301: cors to another cors]
expected: FAIL
[Redirect 301: same origin to cors]
expected: FAIL
[Redirect 301: cors to same origin]
expected: FAIL
[Redirect 302: cors to same cors]
expected: FAIL
[Redirect 302: cors to another cors]
expected: FAIL
[Redirect 302: same origin to cors]
expected: FAIL
[Redirect 302: cors to same origin]
expected: FAIL
[Redirect 303: cors to same cors]
expected: FAIL
[Redirect 303: cors to another cors]
expected: FAIL
[Redirect 303: same origin to cors]
expected: FAIL
[Redirect 303: cors to same origin]
expected: FAIL
[Redirect 307: cors to same cors]
expected: FAIL
[Redirect 307: cors to another cors]
expected: FAIL
[Redirect 307: same origin to cors]
expected: FAIL
[Redirect 307: cors to same origin]
expected: FAIL
[Redirect 308: cors to same cors]
expected: FAIL
[Redirect 308: cors to another cors]
expected: FAIL
[Redirect 308: same origin to cors]
expected: FAIL
[Redirect 308: cors to same origin]
expected: FAIL
[cors-redirect.any.html]
type: testharness
[Redirect 301: cors to another cors]
expected: FAIL
[Redirect 301: cors to same origin]
expected: FAIL
[Redirect 302: cors to another cors]
expected: FAIL
[Redirect 302: cors to same origin]
expected: FAIL
[Redirect 303: cors to another cors]
expected: FAIL
[Redirect 303: cors to same origin]
expected: FAIL
[Redirect 307: cors to another cors]
expected: FAIL
[Redirect 307: cors to same origin]
expected: FAIL
[Redirect 308: cors to another cors]
expected: FAIL
[Redirect 308: cors to same origin]
expected: FAIL

View file

@ -1,15 +1,9 @@
[redirect-empty-location.any.worker.html]
[redirect response with empty Location, follow mode]
expected: FAIL
[redirect response with empty Location, manual mode]
expected: FAIL
[redirect-empty-location.any.html]
[redirect response with empty Location, follow mode]
expected: FAIL
[redirect response with empty Location, manual mode]
expected: FAIL

View file

@ -1,33 +0,0 @@
[redirect-origin.any.html]
[Other origin to same origin redirection 301]
expected: FAIL
[Other origin to same origin redirection 302]
expected: FAIL
[Other origin to same origin redirection 303]
expected: FAIL
[Other origin to same origin redirection 307]
expected: FAIL
[Other origin to same origin redirection 308]
expected: FAIL
[redirect-origin.any.worker.html]
[Other origin to same origin redirection 301]
expected: FAIL
[Other origin to same origin redirection 302]
expected: FAIL
[Other origin to same origin redirection 303]
expected: FAIL
[Other origin to same origin redirection 307]
expected: FAIL
[Other origin to same origin redirection 308]
expected: FAIL

View file

@ -2,5 +2,3 @@
type: testharness
[Request error]
expected: FAIL
[RequestInit's method is invalid]
expected: FAIL

View file

@ -73,6 +73,3 @@
[Consume response's body: from multipart form data blob to formData]
expected: FAIL
[Consume response's body: from URLSearchParams to blob]
expected: FAIL

View file

@ -17,33 +17,15 @@
["data:text/plain ,X"]
expected: FAIL
["data:text/plain%20,X"]
expected: FAIL
["data:text/plain\\f,X"]
expected: FAIL
["data:text/plain%0C,X"]
expected: FAIL
["data:;x=x;charset=x,X"]
expected: FAIL
["data:;x=x,X"]
expected: FAIL
["data:text/plain;charset=windows-1252,%C2%B1"]
expected: FAIL
["data:text/plain;Charset=UTF-8,%C2%B1"]
expected: FAIL
["data:IMAGE/gif;hi=x,%C2%B1"]
expected: FAIL
["data:IMAGE/gif;CHARSET=x,%C2%B1"]
expected: FAIL
["data: ,%FF"]
expected: FAIL
@ -71,18 +53,12 @@
["data:†,X"]
expected: FAIL
["data:†/†,X"]
expected: FAIL
["data:X,X"]
expected: FAIL
["data:text/plain;a=\\",\\",X"]
expected: FAIL
["data:text/plain;a=%2C,X"]
expected: FAIL
["data:;base64;base64,WA"]
expected: FAIL
@ -137,9 +113,6 @@
["data:%3Bbase64,WA"]
expected: FAIL
["data:;charset=x,X"]
expected: FAIL
["data:; charset=x,X"]
expected: FAIL
@ -161,6 +134,21 @@
["data:;CHARSET=\\"X\\",X"]
expected: FAIL
["data:†,X"]
expected: FAIL
["data:†,X"]
expected: FAIL
["data:text/plain;,X"]
expected: FAIL
["data:x/x;base64;base64x,WA"]
expected: FAIL
["data:x/x;base64;base64,WA"]
expected: FAIL
[processing.any.html]
["data://test/,X"]
@ -181,33 +169,15 @@
["data:text/plain ,X"]
expected: FAIL
["data:text/plain%20,X"]
expected: FAIL
["data:text/plain\\f,X"]
expected: FAIL
["data:text/plain%0C,X"]
expected: FAIL
["data:;x=x;charset=x,X"]
expected: FAIL
["data:;x=x,X"]
expected: FAIL
["data:text/plain;charset=windows-1252,%C2%B1"]
expected: FAIL
["data:text/plain;Charset=UTF-8,%C2%B1"]
expected: FAIL
["data:IMAGE/gif;hi=x,%C2%B1"]
expected: FAIL
["data:IMAGE/gif;CHARSET=x,%C2%B1"]
expected: FAIL
["data: ,%FF"]
expected: FAIL
@ -235,18 +205,12 @@
["data:†,X"]
expected: FAIL
["data:†/†,X"]
expected: FAIL
["data:X,X"]
expected: FAIL
["data:text/plain;a=\\",\\",X"]
expected: FAIL
["data:text/plain;a=%2C,X"]
expected: FAIL
["data:;base64;base64,WA"]
expected: FAIL
@ -301,9 +265,6 @@
["data:%3Bbase64,WA"]
expected: FAIL
["data:;charset=x,X"]
expected: FAIL
["data:; charset=x,X"]
expected: FAIL
@ -325,3 +286,18 @@
["data:;CHARSET=\\"X\\",X"]
expected: FAIL
["data:†,X"]
expected: FAIL
["data:†,X"]
expected: FAIL
["data:text/plain;,X"]
expected: FAIL
["data:x/x;base64;base64x,WA"]
expected: FAIL
["data:x/x;base64;base64,WA"]
expected: FAIL

View file

@ -0,0 +1,5 @@
[importscripts.html]
expected: ERROR
[Test importScripts()]
expected: TIMEOUT

View file

@ -0,0 +1,4 @@
[script.html]
[URL query: text/ecmascript;blah]
expected: FAIL

View file

@ -11,3 +11,9 @@
[Revalidated URL query: text/json]
expected: FAIL
[Revalidated URL query: text/css;blah]
expected: FAIL
[URL query: text/css;blah]
expected: FAIL

View file

@ -36,21 +36,6 @@
[video/webm; codecs="vp9.0" (optional)]
expected: FAIL
[audio/mp4 with and without codecs]
expected: FAIL
[audio/ogg with and without codecs]
expected: FAIL
[audio/wav with and without codecs]
expected: FAIL
[video/mp4 with and without codecs]
expected: FAIL
[video/ogg with and without codecs]
expected: FAIL
[video/x-new-fictional-format]
expected: FAIL
@ -78,15 +63,9 @@
[audio/webm with bogus codec]
expected: FAIL
[audio/webm with and without codecs]
expected: FAIL
[video/3gpp with bogus codec]
expected: FAIL
[video/3gpp with and without codecs]
expected: FAIL
[video/mp4; codecs="mp4a.40.2" (optional)]
expected: FAIL
@ -120,9 +99,30 @@
[video/webm with bogus codec]
expected: FAIL
[video/webm with and without codecs]
expected: FAIL
[fictional formats and codecs not supported]
expected: FAIL
[audio/webm (optional)]
expected: FAIL
[video/mp4 (optional)]
expected: FAIL
[video/webm (optional)]
expected: FAIL
[audio/wav (optional)]
expected: FAIL
[video/ogg (optional)]
expected: FAIL
[audio/mp4 (optional)]
expected: FAIL
[video/3gpp (optional)]
expected: FAIL
[audio/ogg (optional)]
expected: FAIL

View file

@ -24,3 +24,6 @@
[<picture><source srcset="data:,b" type="image/foobarbaz"><img src="data:,a" data-expect="data:,a"></picture>]
expected: FAIL
[<picture><source srcset="data:,b" type="image/gif;encodings"><img src="data:,a" data-expect="data:,b"></picture>]
expected: FAIL

View file

@ -0,0 +1,4 @@
[dynamic-imports-credentials.sub.html]
[Dynamic imports should be loaded with or without the credentials based on the same-origin-ness and the parent script's crossOrigin attribute]
expected: FAIL

View file

@ -1,8 +1,5 @@
[a-element-origin-xhtml.xhtml]
type: testharness
[Parsing origin: <sc://\x1f!"$&'()*+,-.;<=>^_`{|}~/> against <about:blank>]
expected: FAIL
[Parsing origin: <https://faß.ExAmPlE/> against <about:blank>]
expected: FAIL

View file

@ -1,8 +1,4 @@
[a-element-origin.html]
type: testharness
[Parsing origin: <sc://\x1f!"$&'()*+,-.;<=>^_`{|}~/> against <about:blank>]
expected: FAIL
[Parsing origin: <https://faß.ExAmPlE/> against <about:blank>]
expected: FAIL

View file

@ -1,56 +1,8 @@
[a-element-xhtml.xhtml]
type: testharness
[Parsing: <http://10000000000> against <http://other.com/>]
expected: FAIL
[Parsing: <http://4294967296> against <http://other.com/>]
expected: FAIL
[Parsing: <http://0xffffffff1> against <http://other.com/>]
expected: FAIL
[Parsing: <https://test:@test> against <about:blank>]
expected: FAIL
[Parsing: <https://:@test> against <about:blank>]
expected: FAIL
[Parsing: <non-special://test:@test/x> against <about:blank>]
expected: FAIL
[Parsing: <non-special://:@test/x> against <about:blank>]
expected: FAIL
[Parsing: <foo://> against <http://example.org/foo/bar>]
expected: FAIL
[Parsing: <http://example.com/foo/%2e%2> against <about:blank>]
expected: FAIL
[Parsing: <http://example.com/foo/%2e./%2e%2e/.%2e/%2e.bar> against <about:blank>]
expected: FAIL
[Parsing: <http://www/foo%2Ehtml> against <about:blank>]
expected: FAIL
[Parsing: <http:a:@www.example.com> against <about:blank>]
expected: FAIL
[Parsing: <http:/a:@www.example.com> against <about:blank>]
expected: FAIL
[Parsing: <http://a:@www.example.com> against <about:blank>]
expected: FAIL
[Parsing: <http://:@www.example.com> against <about:blank>]
expected: FAIL
[Parsing: <sc://ñ.test/> against <about:blank>]
expected: FAIL
[Parsing: <sc://\x1f!"$&'()*+,-.;<=>^_`{|}~/> against <about:blank>]
expected: FAIL
[Parsing: <sc://@/> against <about:blank>]
expected: FAIL
@ -63,9 +15,6 @@
[Parsing: <sc://:12/> against <about:blank>]
expected: FAIL
[Parsing: <x> against <sc://ñ>]
expected: FAIL
[Parsing: <sc://ñ> against <about:blank>]
expected: FAIL
@ -96,21 +45,6 @@
[Parsing: <https://faß.ExAmPlE/> against <about:blank>]
expected: FAIL
[Parsing: <sc://faß.ExAmPlE/> against <about:blank>]
expected: FAIL
[Parsing: <sc://%/> against <about:blank>]
expected: FAIL
[Parsing: <file:#frag> against <about:blank>]
expected: FAIL
[Parsing: <non-special://%E2%80%A0/> against <about:blank>]
expected: FAIL
[Parsing: <non-special://H%4fSt/path> against <about:blank>]
expected: FAIL
[Parsing: <file:\\\\//> against <about:blank>]
expected: FAIL
@ -153,18 +87,6 @@
[Parsing: </?chai> against <file://tea/>]
expected: FAIL
[Parsing: <file://example.net/C:/> against <about:blank>]
expected: FAIL
[Parsing: <file://1.2.3.4/C:/> against <about:blank>]
expected: FAIL
[Parsing: <file://[1::8\]/C:/> against <about:blank>]
expected: FAIL
[Parsing: <https://0x100000000/test> against <about:blank>]
expected: FAIL
[Parsing: <C|> against <file://host/dir/file>]
expected: FAIL
@ -213,3 +135,27 @@
[Parsing: <http://host/?'> against <about:blank>]
expected: FAIL
[Parsing: <sc://ñ> against <about:blank>]
expected: FAIL
[Parsing: <https://faß.ExAmPlE/> against <about:blank>]
expected: FAIL
[Parsing: <sc://ñ#x> against <about:blank>]
expected: FAIL
[Parsing: <http://www.google.com/foo?bar=baz# »> against <about:blank>]
expected: FAIL
[Parsing: <data:test# »> against <about:blank>]
expected: FAIL
[Parsing: <sc://ñ?x> against <about:blank>]
expected: FAIL
[Parsing: <?x> against <sc://ñ>]
expected: FAIL
[Parsing: <#x> against <sc://ñ>]
expected: FAIL

View file

@ -1,56 +1,8 @@
[a-element.html]
type: testharness
[Parsing: <http://10000000000> against <http://other.com/>]
expected: FAIL
[Parsing: <http://4294967296> against <http://other.com/>]
expected: FAIL
[Parsing: <http://0xffffffff1> against <http://other.com/>]
expected: FAIL
[Parsing: <https://test:@test> against <about:blank>]
expected: FAIL
[Parsing: <https://:@test> against <about:blank>]
expected: FAIL
[Parsing: <non-special://test:@test/x> against <about:blank>]
expected: FAIL
[Parsing: <non-special://:@test/x> against <about:blank>]
expected: FAIL
[Parsing: <foo://> against <http://example.org/foo/bar>]
expected: FAIL
[Parsing: <http://example.com/foo/%2e%2> against <about:blank>]
expected: FAIL
[Parsing: <http://example.com/foo/%2e./%2e%2e/.%2e/%2e.bar> against <about:blank>]
expected: FAIL
[Parsing: <http://www/foo%2Ehtml> against <about:blank>]
expected: FAIL
[Parsing: <http:a:@www.example.com> against <about:blank>]
expected: FAIL
[Parsing: <http:/a:@www.example.com> against <about:blank>]
expected: FAIL
[Parsing: <http://a:@www.example.com> against <about:blank>]
expected: FAIL
[Parsing: <http://:@www.example.com> against <about:blank>]
expected: FAIL
[Parsing: <sc://ñ.test/> against <about:blank>]
expected: FAIL
[Parsing: <sc://\x1f!"$&'()*+,-.;<=>^_`{|}~/> against <about:blank>]
expected: FAIL
[Parsing: <sc://@/> against <about:blank>]
expected: FAIL
@ -63,9 +15,6 @@
[Parsing: <sc://:12/> against <about:blank>]
expected: FAIL
[Parsing: <x> against <sc://ñ>]
expected: FAIL
[Parsing: <sc://ñ> against <about:blank>]
expected: FAIL
@ -96,21 +45,6 @@
[Parsing: <https://faß.ExAmPlE/> against <about:blank>]
expected: FAIL
[Parsing: <sc://faß.ExAmPlE/> against <about:blank>]
expected: FAIL
[Parsing: <sc://%/> against <about:blank>]
expected: FAIL
[Parsing: <file:#frag> against <about:blank>]
expected: FAIL
[Parsing: <non-special://%E2%80%A0/> against <about:blank>]
expected: FAIL
[Parsing: <non-special://H%4fSt/path> against <about:blank>]
expected: FAIL
[Parsing: <file:\\\\//> against <about:blank>]
expected: FAIL
@ -153,18 +87,6 @@
[Parsing: </?chai> against <file://tea/>]
expected: FAIL
[Parsing: <file://example.net/C:/> against <about:blank>]
expected: FAIL
[Parsing: <file://1.2.3.4/C:/> against <about:blank>]
expected: FAIL
[Parsing: <file://[1::8\]/C:/> against <about:blank>]
expected: FAIL
[Parsing: <https://0x100000000/test> against <about:blank>]
expected: FAIL
[Parsing: <C|> against <file://host/dir/file>]
expected: FAIL
@ -213,3 +135,27 @@
[Parsing: <http://host/?'> against <about:blank>]
expected: FAIL
[Parsing: <sc://ñ> against <about:blank>]
expected: FAIL
[Parsing: <https://faß.ExAmPlE/> against <about:blank>]
expected: FAIL
[Parsing: <sc://ñ#x> against <about:blank>]
expected: FAIL
[Parsing: <http://www.google.com/foo?bar=baz# »> against <about:blank>]
expected: FAIL
[Parsing: <data:test# »> against <about:blank>]
expected: FAIL
[Parsing: <sc://ñ?x> against <about:blank>]
expected: FAIL
[Parsing: <?x> against <sc://ñ>]
expected: FAIL
[Parsing: <#x> against <sc://ñ>]
expected: FAIL

View file

@ -5,169 +5,244 @@
[window.open(): file://example:1/ should throw]
expected: FAIL
[window.open(): file://example:test/ should throw]
expected: FAIL
[window.open(): file://example%/ should throw]
expected: FAIL
[window.open(): file://\[example\]/ should throw]
[window.open(): file://[example\]/ should throw]
expected: FAIL
[window.open(): http://user:pass@/ should throw]
expected: FAIL
[window.open(): http://foo:-80/ should throw]
expected: FAIL
[XHR: http:/:@/www.example.com should throw]
expected: FAIL
[window.open(): http:/:@/www.example.com should throw]
expected: FAIL
[window.open(): http://user@/www.example.com should throw]
expected: FAIL
[XHR: http:@/www.example.com should throw]
expected: FAIL
[window.open(): http:@/www.example.com should throw]
expected: FAIL
[XHR: http:/@/www.example.com should throw]
expected: FAIL
[window.open(): http:/@/www.example.com should throw]
expected: FAIL
[window.open(): http://@/www.example.com should throw]
expected: FAIL
[window.open(): https:@/www.example.com should throw]
expected: FAIL
[XHR: http:a:b@/www.example.com should throw]
expected: FAIL
[window.open(): http:a:b@/www.example.com should throw]
expected: FAIL
[XHR: http:/a:b@/www.example.com should throw]
expected: FAIL
[window.open(): http:/a:b@/www.example.com should throw]
expected: FAIL
[window.open(): http://a:b@/www.example.com should throw]
expected: FAIL
[XHR: http::@/www.example.com should throw]
expected: FAIL
[window.open(): http::@/www.example.com should throw]
expected: FAIL
[XHR: http:@:www.example.com should throw]
expected: FAIL
[window.open(): http:@:www.example.com should throw]
expected: FAIL
[XHR: http:/@:www.example.com should throw]
expected: FAIL
[window.open(): http:/@:www.example.com should throw]
expected: FAIL
[window.open(): http://@:www.example.com should throw]
expected: FAIL
[window.open(): https://<2F> should throw]
expected: FAIL
[window.open(): https://%EF%BF%BD should throw]
expected: FAIL
[window.open(): https://x x:12 should throw]
expected: FAIL
[window.open(): http://\[www.google.com\]/ should throw]
[window.open(): http://[www.google.com\]/ should throw]
expected: FAIL
[window.open(): sc:/// should throw]
expected: FAIL
[window.open(): sc:// / should throw]
expected: FAIL
[URL's constructor's base argument: sc://@/ should throw]
expected: FAIL
[URL's href: sc://@/ should throw]
expected: FAIL
[XHR: sc://@/ should throw]
expected: FAIL
[Location's href: sc://@/ should throw]
expected: FAIL
[window.open(): sc://@/ should throw]
expected: FAIL
[URL's constructor's base argument: sc://te@s:t@/ should throw]
expected: FAIL
[URL's href: sc://te@s:t@/ should throw]
expected: FAIL
[XHR: sc://te@s:t@/ should throw]
expected: FAIL
[Location's href: sc://te@s:t@/ should throw]
expected: FAIL
[window.open(): sc://te@s:t@/ should throw]
expected: FAIL
[URL's constructor's base argument: sc://:/ should throw]
expected: FAIL
[URL's href: sc://:/ should throw]
expected: FAIL
[XHR: sc://:/ should throw]
expected: FAIL
[Location's href: sc://:/ should throw]
expected: FAIL
[window.open(): sc://:/ should throw]
expected: FAIL
[URL's constructor's base argument: sc://:12/ should throw]
expected: FAIL
[URL's href: sc://:12/ should throw]
expected: FAIL
[XHR: sc://:12/ should throw]
expected: FAIL
[Location's href: sc://:12/ should throw]
expected: FAIL
[window.open(): sc://:12/ should throw]
expected: FAIL
[window.open(): sc://\[/ should throw]
[window.open(): sc://[/ should throw]
expected: FAIL
[window.open(): sc://\\/ should throw]
expected: FAIL
[window.open(): sc://\]/ should throw]
expected: FAIL
[window.open(): sc://\x00/ should throw]
expected: FAIL
[window.open(): ftp://example.com%80/ should throw]
expected: FAIL
[window.open(): ftp://example.com%A0/ should throw]
expected: FAIL
[window.open(): https://example.com%80/ should throw]
expected: FAIL
[window.open(): https://example.com%A0/ should throw]
expected: FAIL
[URL's constructor's base argument: https://0x100000000/test should throw]
expected: FAIL
[URL's href: https://0x100000000/test should throw]
expected: FAIL
[XHR: https://0x100000000/test should throw]
expected: FAIL
[Location's href: https://0x100000000/test should throw]
expected: FAIL
[window.open(): https://0x100000000/test should throw]
expected: FAIL
[window.open(): https://256.0.0.1/test should throw]
expected: FAIL
[window.open(): https://\[0::0::0\] should throw]
[window.open(): https://[0::0::0\] should throw]
expected: FAIL
[window.open(): https://\[0:.0\] should throw]
[window.open(): https://[0:.0\] should throw]
expected: FAIL
[window.open(): https://\[0:0:\] should throw]
[window.open(): https://[0:0:\] should throw]
expected: FAIL
[window.open(): https://\[0:1:2:3:4:5:6:7.0.0.0.1\] should throw]
[window.open(): https://[0:1:2:3:4:5:6:7.0.0.0.1\] should throw]
expected: FAIL
[window.open(): https://\[0:1.00.0.0.0\] should throw]
[window.open(): https://[0:1.00.0.0.0\] should throw]
expected: FAIL
[window.open(): https://\[0:1.290.0.0.0\] should throw]
[window.open(): https://[0:1.290.0.0.0\] should throw]
expected: FAIL
[window.open(): https://\[0:1.23.23\] should throw]
[window.open(): https://[0:1.23.23\] should throw]
expected: FAIL
[window.open(): http://? should throw]
expected: FAIL
[window.open(): http://# should throw]
expected: FAIL
[window.open(): non-special://\[:80/ should throw]
[window.open(): non-special://[:80/ should throw]
expected: FAIL
[window.open(): http://\[::127.0.0.0.1\] should throw]
[window.open(): http://[::127.0.0.0.1\] should throw]
expected: FAIL
[XHR: a should throw]
expected: FAIL
[window.open(): a should throw]
expected: FAIL
[XHR: a/ should throw]
expected: FAIL
[window.open(): a/ should throw]
expected: FAIL
[XHR: a// should throw]
expected: FAIL
[window.open(): a// should throw]
expected: FAIL
[window.open(): https://<2F> should throw]
expected: FAIL

View file

@ -1,56 +1,8 @@
[url-constructor.html]
type: testharness
[Parsing: <http://10000000000> against <http://other.com/>]
expected: FAIL
[Parsing: <http://4294967296> against <http://other.com/>]
expected: FAIL
[Parsing: <http://0xffffffff1> against <http://other.com/>]
expected: FAIL
[Parsing: <https://test:@test> against <about:blank>]
expected: FAIL
[Parsing: <https://:@test> against <about:blank>]
expected: FAIL
[Parsing: <non-special://test:@test/x> against <about:blank>]
expected: FAIL
[Parsing: <non-special://:@test/x> against <about:blank>]
expected: FAIL
[Parsing: <foo://> against <http://example.org/foo/bar>]
expected: FAIL
[Parsing: <http://example.com/foo/%2e%2> against <about:blank>]
expected: FAIL
[Parsing: <http://example.com/foo/%2e./%2e%2e/.%2e/%2e.bar> against <about:blank>]
expected: FAIL
[Parsing: <http://www/foo%2Ehtml> against <about:blank>]
expected: FAIL
[Parsing: <http:a:@www.example.com> against <about:blank>]
expected: FAIL
[Parsing: <http:/a:@www.example.com> against <about:blank>]
expected: FAIL
[Parsing: <http://a:@www.example.com> against <about:blank>]
expected: FAIL
[Parsing: <http://:@www.example.com> against <about:blank>]
expected: FAIL
[Parsing: <sc://ñ.test/> against <about:blank>]
expected: FAIL
[Parsing: <sc://\x1f!"$&'()*+,-.;<=>^_`{|}~/> against <about:blank>]
expected: FAIL
[Parsing: <sc://@/> against <about:blank>]
expected: FAIL
@ -63,9 +15,6 @@
[Parsing: <sc://:12/> against <about:blank>]
expected: FAIL
[Parsing: <x> against <sc://ñ>]
expected: FAIL
[Parsing: <sc://ñ> against <about:blank>]
expected: FAIL
@ -96,21 +45,6 @@
[Parsing: <https://faß.ExAmPlE/> against <about:blank>]
expected: FAIL
[Parsing: <sc://faß.ExAmPlE/> against <about:blank>]
expected: FAIL
[Parsing: <sc://%/> against <about:blank>]
expected: FAIL
[Parsing: <file:#frag> against <about:blank>]
expected: FAIL
[Parsing: <non-special://%E2%80%A0/> against <about:blank>]
expected: FAIL
[Parsing: <non-special://H%4fSt/path> against <about:blank>]
expected: FAIL
[Parsing: <file:\\\\//> against <about:blank>]
expected: FAIL
@ -153,18 +87,6 @@
[Parsing: </?chai> against <file://tea/>]
expected: FAIL
[Parsing: <file://example.net/C:/> against <about:blank>]
expected: FAIL
[Parsing: <file://1.2.3.4/C:/> against <about:blank>]
expected: FAIL
[Parsing: <file://[1::8\]/C:/> against <about:blank>]
expected: FAIL
[Parsing: <https://0x100000000/test> against <about:blank>]
expected: FAIL
[Parsing: <C|> against <file://host/dir/file>]
expected: FAIL
@ -204,3 +126,27 @@
[Parsing: <http://host/?'> against <about:blank>]
expected: FAIL
[Parsing: <sc://ñ> against <about:blank>]
expected: FAIL
[Parsing: <https://faß.ExAmPlE/> against <about:blank>]
expected: FAIL
[Parsing: <sc://ñ#x> against <about:blank>]
expected: FAIL
[Parsing: <http://www.google.com/foo?bar=baz# »> against <about:blank>]
expected: FAIL
[Parsing: <data:test# »> against <about:blank>]
expected: FAIL
[Parsing: <sc://ñ?x> against <about:blank>]
expected: FAIL
[Parsing: <?x> against <sc://ñ>]
expected: FAIL
[Parsing: <#x> against <sc://ñ>]
expected: FAIL

View file

@ -1,6 +1,6 @@
[url-origin.html]
type: testharness
[Origin parsing: <sc://\x1f!"$&'()*+,-.;<=>^_`{|}~/> against <about:blank>]
[Origin parsing: <https://faß.ExAmPlE/> against <about:blank>]
expected: FAIL
[Origin parsing: <https://faß.ExAmPlE/> against <about:blank>]

View file

@ -636,18 +636,6 @@
[<area>: Setting <http://example.net/>.hostname = '[::1.\]']
expected: FAIL
[URL: Setting <view-source+http://example.net/home?lang=fr#nav>.pathname = '\\a\\%2E\\b\\%2e.\\c' \\ is *not* a segment delimiter for non-'special' URLs]
expected: FAIL
[<a>: Setting <view-source+http://example.net/home?lang=fr#nav>.pathname = '\\a\\%2E\\b\\%2e.\\c' \\ is *not* a segment delimiter for non-'special' URLs]
expected: FAIL
[URL: Setting <http://example.net>.pathname = '%2e%2E%c3%89té' Bytes already percent-encoded are left as-is, including %2E outside dotted segments.]
expected: FAIL
[<a>: Setting <http://example.net>.pathname = '%2e%2E%c3%89té' Bytes already percent-encoded are left as-is, including %2E outside dotted segments.]
expected: FAIL
[<area>: Setting <http://example.net>.pathname = '%2e%2E%c3%89té' Bytes already percent-encoded are left as-is, including %2E outside dotted segments.]
expected: FAIL
@ -660,48 +648,18 @@
[<area>: Setting <sc://example.net>.pathname = '#' # needs to be encoded, non-special scheme]
expected: FAIL
[URL: Setting <sc:///>.username = 'x']
expected: FAIL
[<a>: Setting <sc:///>.username = 'x']
expected: FAIL
[<area>: Setting <sc:///>.username = 'x']
expected: FAIL
[URL: Setting <file://test/>.username = 'test']
expected: FAIL
[<a>: Setting <file://test/>.username = 'test']
expected: FAIL
[<area>: Setting <file://test/>.username = 'test']
expected: FAIL
[URL: Setting <sc:///>.password = 'x']
expected: FAIL
[<a>: Setting <sc:///>.password = 'x']
expected: FAIL
[<area>: Setting <sc:///>.password = 'x']
expected: FAIL
[URL: Setting <file://test/>.password = 'test']
expected: FAIL
[<a>: Setting <file://test/>.password = 'test']
expected: FAIL
[<area>: Setting <file://test/>.password = 'test']
expected: FAIL
[URL: Setting <sc://x/>.host = 'ß']
expected: FAIL
[<a>: Setting <sc://x/>.host = 'ß']
expected: FAIL
[<area>: Setting <sc://x/>.host = 'ß']
expected: FAIL
@ -807,12 +765,6 @@
[<area>: Setting <non-base:value>.port = '12']
expected: FAIL
[URL: Setting <sc:///>.port = '12']
expected: FAIL
[<a>: Setting <sc:///>.port = '12']
expected: FAIL
[<area>: Setting <sc:///>.port = '12']
expected: FAIL
@ -981,3 +933,117 @@
[<area>: Setting <http://example.net:8080>.host = 'example.com:80' Port number is removed if new port is scheme default and existing URL has a non-default port]
expected: FAIL
[URL: Setting <a:/>.hash = '\x00\x01\t\n\r\x1f !"#$%&'()*+,-./09:;<=>?@AZ[\\\]^_`az{|}~€Éé' Simple percent-encoding; nuls, tabs, and newlines are removed]
expected: FAIL
[<a>: Setting <a:/>.pathname = '\x00\x01\t\n\r\x1f !"#$%&'()*+,-./09:;<=>?@AZ[\\\]^_`az{|}~€Éé' UTF-8 percent encoding with the default encode set. Tabs and newlines are removed.]
expected: FAIL
[<a>: Setting <a:/>.search = '\x00\x01\t\n\r\x1f !"#$%&'()*+,-./09:;<=>?@AZ[\\\]^_`az{|}~€Éé' UTF-8 percent encoding with the query encode set. Tabs and newlines are removed.]
expected: FAIL
[<area>: Setting <https://x/>.host = 'ß' IDNA Nontransitional_Processing]
expected: FAIL
[URL: Setting <a:/>.search = '\x00\x01\t\n\r\x1f !"#$%&'()*+,-./09:;<=>?@AZ[\\\]^_`az{|}~€Éé' UTF-8 percent encoding with the query encode set. Tabs and newlines are removed.]
expected: FAIL
[<area>: Setting <http://example.net>.protocol = 'b' Cant switch from special scheme to non-special]
expected: FAIL
[<area>: Setting <file://localhost/>.protocol = 'http' Cant switch from file URL with no host]
expected: FAIL
[<area>: Setting <a://example.net>.protocol = 'bé' Non-ASCII is rejected]
expected: FAIL
[<area>: Setting <http://example.net>.username = '%c3%89té' Bytes already percent-encoded are left as-is.]
expected: FAIL
[<area>: Setting <a:/>.pathname = '\x00\x01\t\n\r\x1f !"#$%&'()*+,-./09:;<=>?@AZ[\\\]^_`az{|}~€Éé' UTF-8 percent encoding with the default encode set. Tabs and newlines are removed.]
expected: FAIL
[<area>: Setting <mailto:me@example.net>.pathname = '/foo' Cannot-be-a-base dont have a path]
expected: FAIL
[<area>: Setting <a://example.net>.protocol = 'é' Non-ASCII is rejected]
expected: FAIL
[<area>: Setting <http://example.net>.password = '\x00\x01\t\n\r\x1f !"#$%&'()*+,-./09:;<=>?@AZ[\\\]^_`az{|}~€Éé' UTF-8 percent encoding with the userinfo encode set.]
expected: FAIL
[<a>: Setting <https://x/>.host = 'ß' IDNA Nontransitional_Processing]
expected: FAIL
[<a>: Setting <a:/>.hash = '\x00\x01\t\n\r\x1f !"#$%&'()*+,-./09:;<=>?@AZ[\\\]^_`az{|}~€Éé' Simple percent-encoding; nuls, tabs, and newlines are removed]
expected: FAIL
[<a>: Setting <http://example.net>.protocol = 'b' Cant switch from special scheme to non-special]
expected: FAIL
[<a>: Setting <http://test@example.net>.protocol = 'file' Cant switch from URL containing username/password/port to file]
expected: FAIL
[URL: Setting <ssh://me@example.net>.protocol = 'http' Cant switch from non-special scheme to special]
expected: FAIL
[<area>: Setting <http://test@example.net>.protocol = 'file' Cant switch from URL containing username/password/port to file]
expected: FAIL
[<area>: Setting <http://example.net>.password = '%c3%89té' Bytes already percent-encoded are left as-is.]
expected: FAIL
[<area>: Setting <mailto:me@example.net>.protocol = 'http' Cannot-be-a-base URL doesnt have a host, but URL in a special scheme must.]
expected: FAIL
[URL: Setting <http://test@example.net>.protocol = 'file' Cant switch from URL containing username/password/port to file]
expected: FAIL
[<a>: Setting <a://example.net>.protocol = 'é' Non-ASCII is rejected]
expected: FAIL
[<area>: Setting <sc://x/>.host = 'ß']
expected: FAIL
[URL: Setting <http://example.net>.protocol = 'b' Cant switch from special scheme to non-special]
expected: FAIL
[<area>: Setting <http://example.net>.username = '\x00\x01\t\n\r\x1f !"#$%&'()*+,-./09:;<=>?@AZ[\\\]^_`az{|}~€Éé' UTF-8 percent encoding with the userinfo encode set.]
expected: FAIL
[URL: Setting <a://example.net>.protocol = 'bé' Non-ASCII is rejected]
expected: FAIL
[<area>: Setting <a:/>.search = '\x00\x01\t\n\r\x1f !"#$%&'()*+,-./09:;<=>?@AZ[\\\]^_`az{|}~€Éé' UTF-8 percent encoding with the query encode set. Tabs and newlines are removed.]
expected: FAIL
[URL: Setting <a:/>.pathname = '\x00\x01\t\n\r\x1f !"#$%&'()*+,-./09:;<=>?@AZ[\\\]^_`az{|}~€Éé' UTF-8 percent encoding with the default encode set. Tabs and newlines are removed.]
expected: FAIL
[<area>: Setting <http://example.net>.pathname = '%2e%2E%c3%89té' Bytes already percent-encoded are left as-is, including %2E outside dotted segments.]
expected: FAIL
[<area>: Setting <http://example.net>.hash = '%c3%89té' Bytes already percent-encoded are left as-is]
expected: FAIL
[<a>: Setting <ssh://me@example.net>.protocol = 'http' Cant switch from non-special scheme to special]
expected: FAIL
[<area>: Setting <http://example.net>.search = '%c3%89té' Bytes already percent-encoded are left as-is]
expected: FAIL
[URL: Setting <a://example.net>.protocol = 'é' Non-ASCII is rejected]
expected: FAIL
[<area>: Setting <a:/>.hash = '\x00\x01\t\n\r\x1f !"#$%&'()*+,-./09:;<=>?@AZ[\\\]^_`az{|}~€Éé' Simple percent-encoding; nuls, tabs, and newlines are removed]
expected: FAIL
[URL: Setting <https://x/>.host = 'ß' IDNA Nontransitional_Processing]
expected: FAIL
[<area>: Setting <ssh://me@example.net>.protocol = 'http' Cant switch from non-special scheme to special]
expected: FAIL
[<a>: Setting <a://example.net>.protocol = 'bé' Non-ASCII is rejected]
expected: FAIL

View file

@ -13,20 +13,10 @@
[basic-auth]
expected: FAIL
[basic-auth.any.sharedworker.html]
[Untitled]
expected: FAIL
[basic-auth]
expected: FAIL
[basic-auth.any.html]
[HTTP basic authentication should work with WebSockets]
expected: FAIL
[basic-auth.any.worker.html]
[HTTP basic authentication should work with WebSockets]
expected: FAIL

View file

@ -1,5 +0,0 @@
[access-control-and-redirects.htm]
type: testharness
[Remote sync redirect to local origin]
expected: FAIL

View file

@ -1,5 +0,0 @@
[access-control-basic-allow-access-control-origin-header-data-url.htm]
type: testharness
[Access granted to null-origin iframe]
expected: FAIL

View file

@ -0,0 +1,4 @@
[allow-lists-starting-with-comma.htm]
[Allow lists starting with a comma should be parsed correctly]
expected: FAIL

View file

@ -1,5 +1,6 @@
[getresponseheader-chunked-trailer.htm]
type: testharness
expected: TIMEOUT
[XMLHttpRequest: getResponseHeader() and HTTP trailer]
expected: FAIL
expected: TIMEOUT

View file

@ -12,3 +12,9 @@
[Header value: [tab\]hello_world[tab\]]
expected: FAIL
[Header value: hello_world__]
expected: FAIL
[Header value: __hello_world__]
expected: FAIL

View file

@ -168,3 +168,45 @@
[57) MIME types need to be parsed and serialized: Ā/Ā]
expected: FAIL
[7) MIME types need to be parsed and serialized: text/html;charset =gbk]
expected: FAIL
[38) MIME types need to be parsed and serialized: x/x;x="\t !\\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\\\\]^_`abcdefghijklmnopqrstuvwxyz{|}~€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"]
expected: FAIL
[44) MIME types need to be parsed and serialized: x/x;test=<3D>;x=x]
expected: FAIL
[43) MIME types need to be parsed and serialized: text/html;test=ÿ;charset=gbk]
expected: FAIL
[42) MIME types need to be parsed and serialized: x/x;x=\t]
expected: FAIL
[54) MIME types need to be parsed and serialized: ÿ/ÿ]
expected: FAIL
[57) MIME types need to be parsed and serialized: Ā/Ā]
expected: FAIL
[38) MIME types need to be parsed and serialized: x/x;x="\t !\\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\\\\]^_`abcdefghijklmnopqrstuvwxyz{|}~€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"]
expected: FAIL
[44) MIME types need to be parsed and serialized: x/x;test=<3D>;x=x]
expected: FAIL
[43) MIME types need to be parsed and serialized: text/html;test=ÿ;charset=gbk]
expected: FAIL
[54) MIME types need to be parsed and serialized: ÿ/ÿ]
expected: FAIL
[57) MIME types need to be parsed and serialized: Ā/Ā]
expected: FAIL
[41) MIME types need to be parsed and serialized: x/x;x= ]
expected: FAIL
[39) MIME types need to be parsed and serialized: x/x;test]
expected: FAIL

View file

@ -1,5 +0,0 @@
[preserve-ua-header-on-redirect.htm]
type: testharness
[XMLHttpRequest: User-Agent header is preserved on redirect 1]
expected: FAIL

View file

@ -0,0 +1,4 @@
[responsexml-media-type.htm]
[XMLHttpRequest: responseXML MIME type tests ('text/plain;+xml', should not parse)]
expected: FAIL

View file

@ -1,5 +0,0 @@
[send-accept-language.htm]
type: testharness
[XMLHttpRequest: send() - Accept-Language]
expected: FAIL

View file

@ -24,9 +24,6 @@
[charset given but wrong, fix it (known MIME, actual charset)]
expected: FAIL
[If no charset= param is given, implementation should not add one - known MIME, unknown param, two spaces]
expected: FAIL
[Multiple charset parameters deduplicate, bogus parameter dropped]
expected: FAIL
@ -45,9 +42,6 @@
[unknown parameters need to be preserved]
expected: FAIL
[charset with space that is UTF-8 does not change]
expected: FAIL
[charset in double quotes with backslashes that is UTF-8 does not change]
expected: FAIL
@ -57,9 +51,3 @@
[Multiple non-UTF-8 charset parameters deduplicate, bogus parameter dropped]
expected: FAIL
[If charset= param is UTF-8 (case-insensitive), it should not be changed]
expected: FAIL
[charset in double quotes that is UTF-8 does not change]
expected: FAIL

View file

@ -3,3 +3,6 @@
[abort() called from data stringification]
expected: FAIL
[open() called from data stringification]
expected: FAIL

View file

@ -0,0 +1,13 @@
[send-redirect-no-location.htm]
[XMLHttpRequest: send() - Redirects (no Location header) (303)]
expected: FAIL
[XMLHttpRequest: send() - Redirects (no Location header) (301)]
expected: FAIL
[XMLHttpRequest: send() - Redirects (no Location header) (307)]
expected: FAIL
[XMLHttpRequest: send() - Redirects (no Location header) (302)]
expected: FAIL

View file

@ -1,11 +0,0 @@
[setrequestheader-allow-empty-value.htm]
type: testharness
[XMLHttpRequest: setRequestHeader() - empty header ()]
expected: FAIL
[XMLHttpRequest: setRequestHeader() - empty header (null)]
expected: FAIL
[XMLHttpRequest: setRequestHeader() - empty header (undefined)]
expected: FAIL

View file

@ -1,14 +0,0 @@
[setrequestheader-allow-whitespace-in-value.htm]
type: testharness
[XMLHttpRequest: setRequestHeader() - header value with whitespace ( )]
expected: FAIL
[XMLHttpRequest: setRequestHeader() - header value with whitespace ( t)]
expected: FAIL
[XMLHttpRequest: setRequestHeader() - header value with whitespace (t )]
expected: FAIL
[XMLHttpRequest: setRequestHeader() - header value with whitespace ( t )]
expected: FAIL

View file

@ -2,3 +2,6 @@
[XMLHttpRequest: setRequestHeader() - headers that differ in case 1]
expected: FAIL
[XMLHttpRequest: setRequestHeader() - headers that differ in case]
expected: FAIL

View file

@ -1,11 +1,5 @@
[setrequestheader-content-type.htm]
type: testharness
[ArrayBuffer request keeps setRequestHeader() Content-Type and charset]
expected: FAIL
[ArrayBufferView request keeps setRequestHeader() Content-Type and charset]
expected: FAIL
[URLSearchParams request keeps setRequestHeader() Content-Type, with charset adjusted to UTF-8]
expected: FAIL
@ -18,75 +12,15 @@
[ReadableStream request keeps setRequestHeader() Content-Type and charset]
expected: FAIL
[setRequestHeader("") sends a blank string]
expected: FAIL
[setRequestHeader(" ") sends the string " "]
expected: FAIL
[setRequestHeader(null) sends the string "null"]
expected: FAIL
[setRequestHeader(undefined) sends the string "undefined"]
expected: FAIL
[String request has correct default Content-Type of "text/plain;charset=UTF-8"]
expected: FAIL
[String request keeps setRequestHeader() Content-Type, with charset adjusted to UTF-8]
expected: FAIL
[XML Document request respects setRequestHeader("")]
expected: FAIL
[XML Document request has correct default Content-Type of "application/xml;charset=UTF-8"]
expected: FAIL
[XML Document request keeps setRequestHeader() Content-Type, with charset adjusted to UTF-8]
expected: FAIL
[HTML Document request respects setRequestHeader("")]
expected: FAIL
[HTML Document request has correct default Content-Type of "text/html;charset=UTF-8"]
expected: FAIL
[HTML Document request keeps setRequestHeader() Content-Type, with charset adjusted to UTF-8]
expected: FAIL
[Blob request respects setRequestHeader("") to be specified]
expected: FAIL
[Blob request with unset type keeps setRequestHeader() Content-Type and charset]
expected: FAIL
[Blob request with set type uses that it for Content-Type unless setRequestHeader()]
expected: FAIL
[Blob request with set type keeps setRequestHeader() Content-Type and charset]
expected: FAIL
[ArrayBuffer request respects setRequestHeader("")]
expected: FAIL
[ArrayBufferView request respects setRequestHeader("")]
expected: FAIL
[FormData request respects setRequestHeader("")]
expected: FAIL
[FormData request has correct default Content-Type of "multipart/form-data; boundary=_"]
expected: FAIL
[FormData request keeps setRequestHeader() Content-Type and charset]
expected: FAIL
[URLSearchParams respects setRequestHeader("")]
expected: FAIL
[URLSearchParams request has correct default Content-Type of "application/x-www-form-urlencoded;charset=UTF-8"]
expected: FAIL
[Blob request with set type respects setRequestHeader("") to be specified]
expected: FAIL

View file

@ -1,29 +1,7 @@
[setrequestheader-header-allowed.htm]
type: testharness
[XMLHttpRequest: setRequestHeader() - headers that are allowed (Authorization)]
expected: FAIL
[XMLHttpRequest: setRequestHeader() - headers that are allowed (Pragma)]
expected: FAIL
[XMLHttpRequest: setRequestHeader() - headers that are allowed (User-Agent)]
expected: FAIL
[XMLHttpRequest: setRequestHeader() - headers that are allowed (Content-Transfer-Encoding)]
expected: FAIL
[XMLHttpRequest: setRequestHeader() - headers that are allowed (Content-Type)]
expected: FAIL
[XMLHttpRequest: setRequestHeader() - headers that are allowed (Overwrite)]
expected: FAIL
[XMLHttpRequest: setRequestHeader() - headers that are allowed (If)]
expected: FAIL
expected: CRASH
bug: https://github.com/hyperium/http/pull/271
[XMLHttpRequest: setRequestHeader() - headers that are allowed (Status-URI)]
expected: FAIL
[XMLHttpRequest: setRequestHeader() - headers that are allowed (X-Pink-Unicorn)]
expected: FAIL

View file

@ -0,0 +1,82 @@
[status-async.htm]
[XMLHttpRequest: status/statusText - various responses 24 (CHICKEN 503)]
expected: FAIL
[XMLHttpRequest: status/statusText - various responses 8 (HEAD 402)]
expected: FAIL
[XMLHttpRequest: status/statusText - various responses 5 (HEAD 401)]
expected: FAIL
[XMLHttpRequest: status/statusText - various responses 14 (HEAD 402)]
expected: FAIL
[XMLHttpRequest: status/statusText - various responses 19 (GET 502)]
expected: FAIL
[XMLHttpRequest: status/statusText - various responses 2 (HEAD 204)]
expected: FAIL
[XMLHttpRequest: status/statusText - various responses 4 (GET 401)]
expected: FAIL
[XMLHttpRequest: status/statusText - various responses 9 (CHICKEN 402)]
expected: FAIL
[XMLHttpRequest: status/statusText - various responses 6 (CHICKEN 401)]
expected: FAIL
[XMLHttpRequest: status/statusText - various responses 22 (GET 503)]
expected: FAIL
[XMLHttpRequest: status/statusText - various responses 20 (HEAD 502)]
expected: FAIL
[XMLHttpRequest: status/statusText - various responses 10 (GET 402)]
expected: FAIL
[XMLHttpRequest: status/statusText - various responses 21 (CHICKEN 502)]
expected: FAIL
[XMLHttpRequest: status/statusText - various responses 11 (HEAD 402)]
expected: FAIL
[XMLHttpRequest: status/statusText - various responses 1 (GET 204)]
expected: FAIL
[XMLHttpRequest: status/statusText - various responses 25 (GET 699)]
expected: FAIL
[XMLHttpRequest: status/statusText - various responses 16 (GET 502)]
expected: FAIL
[XMLHttpRequest: status/statusText - various responses 12 (CHICKEN 402)]
expected: FAIL
[XMLHttpRequest: status/statusText - various responses 7 (GET 402)]
expected: FAIL
[XMLHttpRequest: status/statusText - various responses 27 (CHICKEN 699)]
expected: FAIL
[XMLHttpRequest: status/statusText - various responses 26 (HEAD 699)]
expected: FAIL
[XMLHttpRequest: status/statusText - various responses 13 (GET 402)]
expected: FAIL
[XMLHttpRequest: status/statusText - various responses 17 (HEAD 502)]
expected: FAIL
[XMLHttpRequest: status/statusText - various responses 3 (CHICKEN 204)]
expected: FAIL
[XMLHttpRequest: status/statusText - various responses 23 (HEAD 503)]
expected: FAIL
[XMLHttpRequest: status/statusText - various responses 15 (CHICKEN 402)]
expected: FAIL
[XMLHttpRequest: status/statusText - various responses 18 (CHICKEN 502)]
expected: FAIL

View file

@ -0,0 +1,82 @@
[status-basic.htm]
[XMLHttpRequest: status/statusText - various responses 24 (CHICKEN 503)]
expected: FAIL
[XMLHttpRequest: status/statusText - various responses 8 (HEAD 402)]
expected: FAIL
[XMLHttpRequest: status/statusText - various responses 5 (HEAD 401)]
expected: FAIL
[XMLHttpRequest: status/statusText - various responses 14 (HEAD 402)]
expected: FAIL
[XMLHttpRequest: status/statusText - various responses 19 (GET 502)]
expected: FAIL
[XMLHttpRequest: status/statusText - various responses 2 (HEAD 204)]
expected: FAIL
[XMLHttpRequest: status/statusText - various responses 4 (GET 401)]
expected: FAIL
[XMLHttpRequest: status/statusText - various responses 9 (CHICKEN 402)]
expected: FAIL
[XMLHttpRequest: status/statusText - various responses 6 (CHICKEN 401)]
expected: FAIL
[XMLHttpRequest: status/statusText - various responses 22 (GET 503)]
expected: FAIL
[XMLHttpRequest: status/statusText - various responses 20 (HEAD 502)]
expected: FAIL
[XMLHttpRequest: status/statusText - various responses 10 (GET 402)]
expected: FAIL
[XMLHttpRequest: status/statusText - various responses 21 (CHICKEN 502)]
expected: FAIL
[XMLHttpRequest: status/statusText - various responses 11 (HEAD 402)]
expected: FAIL
[XMLHttpRequest: status/statusText - various responses 1 (GET 204)]
expected: FAIL
[XMLHttpRequest: status/statusText - various responses 25 (GET 699)]
expected: FAIL
[XMLHttpRequest: status/statusText - various responses 16 (GET 502)]
expected: FAIL
[XMLHttpRequest: status/statusText - various responses 12 (CHICKEN 402)]
expected: FAIL
[XMLHttpRequest: status/statusText - various responses 7 (GET 402)]
expected: FAIL
[XMLHttpRequest: status/statusText - various responses 27 (CHICKEN 699)]
expected: FAIL
[XMLHttpRequest: status/statusText - various responses 26 (HEAD 699)]
expected: FAIL
[XMLHttpRequest: status/statusText - various responses 13 (GET 402)]
expected: FAIL
[XMLHttpRequest: status/statusText - various responses 17 (HEAD 502)]
expected: FAIL
[XMLHttpRequest: status/statusText - various responses 3 (CHICKEN 204)]
expected: FAIL
[XMLHttpRequest: status/statusText - various responses 23 (HEAD 503)]
expected: FAIL
[XMLHttpRequest: status/statusText - various responses 15 (CHICKEN 402)]
expected: FAIL
[XMLHttpRequest: status/statusText - various responses 18 (CHICKEN 502)]
expected: FAIL

View file

@ -0,0 +1,13 @@
[status-error.htm]
[XMLHttpRequest: status error handling GET 699]
expected: FAIL
[XMLHttpRequest: status error handling POST 699]
expected: FAIL
[XMLHttpRequest: status error handling PUT 699]
expected: FAIL
[XMLHttpRequest: status error handling HEAD 699]
expected: FAIL