GeezerVison is showing github.com — test: update WPT for url to 7a3645b79a · nodejs/node@5b35eb0
File treeExpand file treeCollapse file tree Open diff view settings Expand file treeCollapse file tree Open diff view settings Collapse file 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 number | Diff line number | Diff line change |
|---|
@@ -28,7 +28,7 @@ Last update: | 28 | 28 | - resource-timing: https://github.com/web-platform-tests/wpt/tree/22d38586d0/resource-timing | 29 | 29 | - resources: https://github.com/web-platform-tests/wpt/tree/6a2f322376/resources | 30 | 30 | - 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 | 32 | 32 | - urlpattern: https://github.com/web-platform-tests/wpt/tree/a2e15ad405/urlpattern | 33 | 33 | - user-timing: https://github.com/web-platform-tests/wpt/tree/5ae85bf826/user-timing | 34 | 34 | - wasm/jsapi: https://github.com/web-platform-tests/wpt/tree/65a2134d50/wasm/jsapi | |
Collapse file Copy file name to clipboardExpand all lines: test/fixtures/wpt/url/IdnaTestV2-removed.any.js +2Lines changed: 2 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
| | 1 | +// META: global=window | | 2 | + | 1 | 3 | promise_test(() => fetch("resources/IdnaTestV2-removed.json").then(res => res.json()).then(runTests), "Loading data…"); | 2 | 4 |
| 3 | 5 | function runTests(idnaTests) { | |
Collapse file Copy file name to clipboardExpand all lines: test/fixtures/wpt/url/IdnaTestV2.any.js +2Lines changed: 2 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
| | 1 | +// META: global=window | | 2 | + | 1 | 3 | promise_test(() => fetch("resources/IdnaTestV2.json").then(res => res.json()).then(runTests), "Loading data…"); | 2 | 4 |
| 3 | 5 | function runTests(idnaTests) { | |
Collapse file Copy file name to clipboardExpand all lines: test/fixtures/wpt/url/resources/urltestdata.json +61Lines changed: 61 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 1044 | 1044 | "search": "", | 1045 | 1045 | "hash": "" | 1046 | 1046 | }, | | 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 | + }, | 1047 | 1062 | { | 1048 | 1063 | "input": "ftp:/example.com/", | 1049 | 1064 | "base": "http://example.org/foo/bar", | | 10342 | 10357 | "search": "", | 10343 | 10358 | "hash": "" | 10344 | 10359 | }, | | 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 | + }, | 10345 | 10406 | { | 10346 | 10407 | "comment": "Fragment with <> on data: URI", | 10347 | 10408 | "input": "data:text/plain,test#<foo> <bar>", | |
Collapse file Copy file name to clipboardExpand all lines: test/fixtures/wpt/versions.json +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 72 | 72 | "path": "streams" | 73 | 73 | }, | 74 | 74 | "url": { | 75 | | - "commit": "fc3e651593fab938433613eb5ad0b4dbd5a4e167", | | 75 | + "commit": "7a3645b79ade98a05066a09ce88e143daac31535", | 76 | 76 | "path": "url" | 77 | 77 | }, | 78 | 78 | "urlpattern": { | |
|