File tree Expand file tree Collapse file tree 5 files changed +67
-2
lines changed
Expand file tree Collapse file tree 5 files changed +67
-2
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ Last update:
2828- resource-timing: https://github.com/web-platform-tests/wpt/tree/22d38586d0/resource-timing
2929- resources: https://github.com/web-platform-tests/wpt/tree/6a2f322376/resources
3030- streams: https://github.com/web-platform-tests/wpt/tree/bc9dcbbf1a/streams
31- - url: https://github.com/web-platform-tests/wpt/tree/fc3e651593 /url
31+ - url: https://github.com/web-platform-tests/wpt/tree/7a3645b79a /url
3232- urlpattern: https://github.com/web-platform-tests/wpt/tree/a2e15ad405/urlpattern
3333- user-timing: https://github.com/web-platform-tests/wpt/tree/5ae85bf826/user-timing
3434- wasm/jsapi: https://github.com/web-platform-tests/wpt/tree/65a2134d50/wasm/jsapi
Original file line number Diff line number Diff line change 1+ // META: global=window
2+
13promise_test ( ( ) => fetch ( "resources/IdnaTestV2-removed.json" ) . then ( res => res . json ( ) ) . then ( runTests ) , "Loading data…" ) ;
24
35function runTests ( idnaTests ) {
Original file line number Diff line number Diff line change 1+ // META: global=window
2+
13promise_test ( ( ) => fetch ( "resources/IdnaTestV2.json" ) . then ( res => res . json ( ) ) . then ( runTests ) , "Loading data…" ) ;
24
35function runTests ( idnaTests ) {
Original file line number Diff line number Diff line change 10441044 "search" : " " ,
10451045 "hash" : " "
10461046 },
1047+ {
1048+ "input" : " http:/" ,
1049+ "base" : " http://example.com/" ,
1050+ "href" : " http://example.com/" ,
1051+ "origin" : " http://example.com" ,
1052+ "protocol" : " http:" ,
1053+ "username" : " " ,
1054+ "password" : " " ,
1055+ "host" : " example.com" ,
1056+ "hostname" : " example.com" ,
1057+ "port" : " " ,
1058+ "pathname" : " /" ,
1059+ "search" : " " ,
1060+ "hash" : " "
1061+ },
10471062 {
10481063 "input" : " ftp:/example.com/" ,
10491064 "base" : " http://example.org/foo/bar" ,
1034210357 "search" : " " ,
1034310358 "hash" : " "
1034410359 },
10360+ " # Non-special relative URL and backslashes" ,
10361+ {
10362+ "comment" : " Non-special relative: \\ should not enter RelativeSlash state" ,
10363+ "input" : " \\ a" ,
10364+ "base" : " foo://foo/a" ,
10365+ "href" : " foo://foo/\\ a" ,
10366+ "protocol" : " foo:" ,
10367+ "username" : " " ,
10368+ "password" : " " ,
10369+ "host" : " foo" ,
10370+ "hostname" : " foo" ,
10371+ "port" : " " ,
10372+ "pathname" : " /\\ a" ,
10373+ "search" : " " ,
10374+ "hash" : " "
10375+ },
10376+ {
10377+ "comment" : " Non-special relative: \\ should not enter RelativeSlash, so / is a path separator" ,
10378+ "input" : " \\ /a" ,
10379+ "base" : " foo://foo/a" ,
10380+ "href" : " foo://foo/\\ /a" ,
10381+ "protocol" : " foo:" ,
10382+ "username" : " " ,
10383+ "password" : " " ,
10384+ "host" : " foo" ,
10385+ "hostname" : " foo" ,
10386+ "port" : " " ,
10387+ "pathname" : " /\\ /a" ,
10388+ "search" : " " ,
10389+ "hash" : " "
10390+ },
10391+ {
10392+ "comment" : " Non-special relative: \\\\ should not trigger authority parsing" ,
10393+ "input" : " \\\\ a" ,
10394+ "base" : " foo://foo/a" ,
10395+ "href" : " foo://foo/\\\\ a" ,
10396+ "protocol" : " foo:" ,
10397+ "username" : " " ,
10398+ "password" : " " ,
10399+ "host" : " foo" ,
10400+ "hostname" : " foo" ,
10401+ "port" : " " ,
10402+ "pathname" : " /\\\\ a" ,
10403+ "search" : " " ,
10404+ "hash" : " "
10405+ },
1034510406 {
1034610407 "comment" : " Fragment with <> on data: URI" ,
1034710408 "input" : " data:text/plain,test#<foo> <bar>" ,
Original file line number Diff line number Diff line change 7272 "path" : " streams"
7373 },
7474 "url" : {
75- "commit" : " fc3e651593fab938433613eb5ad0b4dbd5a4e167 " ,
75+ "commit" : " 7a3645b79ade98a05066a09ce88e143daac31535 " ,
7676 "path" : " url"
7777 },
7878 "urlpattern" : {
You can’t perform that action at this time.
0 commit comments