Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 12ba2d7

Browse filesBrowse files
nodejs-github-botaduh95
authored andcommitted
test: update WPT for url to c928b19ab0
PR-URL: #62148 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Mattias Buelens <mattias@buelens.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent 4e15e5b commit 12ba2d7
Copy full SHA for 12ba2d7

4 files changed

+98-2Lines changed: 98 additions & 2 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎test/fixtures/wpt/README.md‎

Copy file name to clipboardExpand all lines: test/fixtures/wpt/README.md
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff 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/efb889eb4c/url
31+
- url: https://github.com/web-platform-tests/wpt/tree/c928b19ab0/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/cde25e7e3c/wasm/jsapi
Collapse file

‎test/fixtures/wpt/url/resources/setters_tests.json‎

Copy file name to clipboardExpand all lines: test/fixtures/wpt/url/resources/setters_tests.json
+36Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2548,6 +2548,42 @@
25482548
"href": "http://example.net/#%00",
25492549
"hash": "#%00"
25502550
}
2551+
},
2552+
{
2553+
"comment": "Fragment with <> on data: URI",
2554+
"href": "data:text/plain,test",
2555+
"new_value": "#<foo> <bar>",
2556+
"expected": {
2557+
"href": "data:text/plain,test#%3Cfoo%3E%20%3Cbar%3E",
2558+
"hash": "#%3Cfoo%3E%20%3Cbar%3E"
2559+
}
2560+
},
2561+
{
2562+
"comment": "Fragment with <> on about:blank",
2563+
"href": "about:blank",
2564+
"new_value": "#<foo> <bar>",
2565+
"expected": {
2566+
"href": "about:blank#%3Cfoo%3E%20%3Cbar%3E",
2567+
"hash": "#%3Cfoo%3E%20%3Cbar%3E"
2568+
}
2569+
},
2570+
{
2571+
"comment": "Fragment percent-encode set on data: URI; tabs and newlines are removed",
2572+
"href": "data:text/plain,test",
2573+
"new_value": "#\u0000\u0001\t\n\r\u001f !\"#$%&'()*+,-./09:;<=>?@AZ[\\]^_`az{|}~\u007f\u0080\u0081Éé",
2574+
"expected": {
2575+
"href": "data:text/plain,test#%00%01%1F%20!%22#$%&'()*+,-./09:;%3C=%3E?@AZ[\\]^_%60az{|}~%7F%C2%80%C2%81%C3%89%C3%A9",
2576+
"hash": "#%00%01%1F%20!%22#$%&'()*+,-./09:;%3C=%3E?@AZ[\\]^_%60az{|}~%7F%C2%80%C2%81%C3%89%C3%A9"
2577+
}
2578+
},
2579+
{
2580+
"comment": "Fragment percent-encode set on about:blank; tabs and newlines are removed",
2581+
"href": "about:blank",
2582+
"new_value": "#\u0000\u0001\t\n\r\u001f !\"#$%&'()*+,-./09:;<=>?@AZ[\\]^_`az{|}~\u007f\u0080\u0081Éé",
2583+
"expected": {
2584+
"href": "about:blank#%00%01%1F%20!%22#$%&'()*+,-./09:;%3C=%3E?@AZ[\\]^_%60az{|}~%7F%C2%80%C2%81%C3%89%C3%A9",
2585+
"hash": "#%00%01%1F%20!%22#$%&'()*+,-./09:;%3C=%3E?@AZ[\\]^_%60az{|}~%7F%C2%80%C2%81%C3%89%C3%A9"
2586+
}
25512587
}
25522588
],
25532589
"href": [
Collapse file

‎test/fixtures/wpt/url/resources/urltestdata.json‎

Copy file name to clipboardExpand all lines: test/fixtures/wpt/url/resources/urltestdata.json
+60Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10296,5 +10296,65 @@
1029610296
"pathname": "/a\\b",
1029710297
"search": "",
1029810298
"hash": ""
10299+
},
10300+
{
10301+
"comment": "Fragment with <> on data: URI",
10302+
"input": "data:text/plain,test#<foo> <bar>",
10303+
"base": null,
10304+
"href": "data:text/plain,test#%3Cfoo%3E%20%3Cbar%3E",
10305+
"protocol": "data:",
10306+
"username": "",
10307+
"password": "",
10308+
"host": "",
10309+
"hostname": "",
10310+
"port": "",
10311+
"pathname": "text/plain,test",
10312+
"search": "",
10313+
"hash": "#%3Cfoo%3E%20%3Cbar%3E"
10314+
},
10315+
{
10316+
"comment": "Fragment with <> on about:blank",
10317+
"input": "about:blank#<foo> <bar>",
10318+
"base": null,
10319+
"href": "about:blank#%3Cfoo%3E%20%3Cbar%3E",
10320+
"protocol": "about:",
10321+
"username": "",
10322+
"password": "",
10323+
"host": "",
10324+
"hostname": "",
10325+
"port": "",
10326+
"pathname": "blank",
10327+
"search": "",
10328+
"hash": "#%3Cfoo%3E%20%3Cbar%3E"
10329+
},
10330+
{
10331+
"comment": "Fragment percent-encode set on data: URI; tabs and newlines are removed",
10332+
"input":"data:text/plain,test#\u0000\u0001\t\n\r\u001f !\"#$%&'()*+,-./09:;<=>?@AZ[\\]^_`az{|}~\u007f\u0080\u0081Éé",
10333+
"base": null,
10334+
"href": "data:text/plain,test#%00%01%1F%20!%22#$%&'()*+,-./09:;%3C=%3E?@AZ[\\]^_%60az{|}~%7F%C2%80%C2%81%C3%89%C3%A9",
10335+
"protocol": "data:",
10336+
"username": "",
10337+
"password": "",
10338+
"host": "",
10339+
"hostname": "",
10340+
"port": "",
10341+
"pathname": "text/plain,test",
10342+
"search": "",
10343+
"hash": "#%00%01%1F%20!%22#$%&'()*+,-./09:;%3C=%3E?@AZ[\\]^_%60az{|}~%7F%C2%80%C2%81%C3%89%C3%A9"
10344+
},
10345+
{
10346+
"comment": "Fragment percent-encode set on about:blank; tabs and newlines are removed",
10347+
"input": "about:blank#\u0000\u0001\t\n\r\u001f !\"#$%&'()*+,-./09:;<=>?@AZ[\\]^_`az{|}~\u007f\u0080\u0081Éé",
10348+
"base": null,
10349+
"href": "about:blank#%00%01%1F%20!%22#$%&'()*+,-./09:;%3C=%3E?@AZ[\\]^_%60az{|}~%7F%C2%80%C2%81%C3%89%C3%A9",
10350+
"protocol": "about:",
10351+
"username": "",
10352+
"password": "",
10353+
"host": "",
10354+
"hostname": "",
10355+
"port": "",
10356+
"pathname": "blank",
10357+
"search": "",
10358+
"hash": "#%00%01%1F%20!%22#$%&'()*+,-./09:;%3C=%3E?@AZ[\\]^_%60az{|}~%7F%C2%80%C2%81%C3%89%C3%A9"
1029910359
}
1030010360
]
Collapse file

‎test/fixtures/wpt/versions.json‎

Copy file name to clipboardExpand all lines: test/fixtures/wpt/versions.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
"path": "streams"
7373
},
7474
"url": {
75-
"commit": "efb889eb4c9ca0b4e3ebd8ab308646b7483a8f54",
75+
"commit": "c928b19ab04a4525807238e9299c23f3a1cca582",
7676
"path": "url"
7777
},
7878
"urlpattern": {

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.