File tree Expand file tree Collapse file tree 4 files changed +39
-2
lines changed
Expand file tree Collapse file tree 4 files changed +39
-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/1d2c5fb36a/resources
3030- streams: https://github.com/web-platform-tests/wpt/tree/bc9dcbbf1a/streams
31- - url: https://github.com/web-platform-tests/wpt/tree/9504a83e01 /url
31+ - url: https://github.com/web-platform-tests/wpt/tree/814f9a33b0 /url
3232- urlpattern: https://github.com/web-platform-tests/wpt/tree/cff1ac1123/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/cde25e7e3c/wasm/jsapi
Original file line number Diff line number Diff line change 1919 "property" : "shouldNotExistB" ,
2020 "expected" : undefined
2121 } ,
22+ {
23+ "description" : "javascript: URL with extra slashes at the start" ,
24+ "input" : "javascript:///globalThis.shouldNotExistC=1" ,
25+ "property" : "shouldNotExistC" ,
26+ "expected" : undefined
27+ } ,
2228 {
2329 "description" : "javascript: URL without an opaque path" ,
2430 "input" : "javascript://host/1%0a//../0/;globalThis.shouldBeOne=1;/%0aglobalThis.shouldBeOne=2;/..///" ,
Original file line number Diff line number Diff line change 11951195 "host" : " test" ,
11961196 "hostname" : " test"
11971197 }
1198+ },
1199+ {
1200+ "href" : " foo://path/to" ,
1201+ "new_value" : " :80" ,
1202+ "expected" : {
1203+ "href" : " foo://path/to" ,
1204+ "host" : " path" ,
1205+ "port" : " "
1206+ }
11981207 }
11991208 ],
12001209 "hostname" : [
19091918 "expected" : {
19101919 "port" : " 4"
19111920 }
1921+ },
1922+ {
1923+ "href" : " https://domain.com:3000" ,
1924+ "new_value" : " \n\t 80\n\t 80\n\t " ,
1925+ "expected" : {
1926+ "port" : " 8080"
1927+ }
1928+ },
1929+ {
1930+ "href" : " https://domain.com:3000" ,
1931+ "new_value" : " \n\n\t\t " ,
1932+ "expected" : {
1933+ "port" : " 3000"
1934+ }
19121935 }
19131936 ],
19141937 "pathname" : [
21912214 "href" : " http://example.net/%00" ,
21922215 "pathname" : " /%00"
21932216 }
2217+ },
2218+ {
2219+ "href" : " foo://path/to" ,
2220+ "new_value" : " /.." ,
2221+ "expected" : {
2222+ "href" : " foo://path/" ,
2223+ "pathname" : " /"
2224+ }
21942225 }
21952226 ],
21962227 "search" : [
Original file line number Diff line number Diff line change 7272 "path" : " streams"
7373 },
7474 "url" : {
75- "commit" : " 9504a83e014b6b26d6c09eaee89c6b83cb7410c2 " ,
75+ "commit" : " 814f9a33b0e505bb256a3de377199c3f61b05538 " ,
7676 "path" : " url"
7777 },
7878 "urlpattern" : {
You can’t perform that action at this time.
0 commit comments