GeezerVison is showing github.com — test: update url web-platform tests · nodejs/node@89983cf
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/1d2c5fb36a/resources | 30 | 30 | - 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/593c46cf18/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/cde25e7e3c/wasm/jsapi | |
Collapse file Copy file name to clipboard +7Lines changed: 7 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 1 | 1 | features: | | 2 | +- name: url | | 3 | + files: | | 4 | + - "*" | | 5 | + - "!url-statics-canparse.*" | 2 | 6 | - name: url-canparse | 3 | 7 | files: | 4 | 8 | - url-statics-canparse.* | | 9 | +- name: base | | 10 | + files: | | 11 | + - a-element* |
Collapse file Copy file name to clipboardExpand all lines: test/fixtures/wpt/url/javascript-urls.window.js +6Lines changed: 6 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 19 | 19 | "property": "shouldNotExistB", | 20 | 20 | "expected": undefined | 21 | 21 | }, | | 22 | + { | | 23 | + "description": "javascript: URL with extra slashes at the start", | | 24 | + "input": "javascript:///globalThis.shouldNotExistC=1", | | 25 | + "property": "shouldNotExistC", | | 26 | + "expected": undefined | | 27 | + }, | 22 | 28 | { | 23 | 29 | "description": "javascript: URL without an opaque path", | 24 | 30 | "input": "javascript://host/1%0a//../0/;globalThis.shouldBeOne=1;/%0aglobalThis.shouldBeOne=2;/..///", | |
Collapse file Copy file name to clipboardExpand all lines: test/fixtures/wpt/url/resources/IdnaTestV2.json +23-16Lines changed: 23 additions & 16 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 8708 | 8708 | "output": null | 8709 | 8709 | }, | 8710 | 8710 | { | 8711 | | - "comment": "V7; A4_2 (ignored)", | | 8711 | + "comment": "A4_2 (ignored)", | 8712 | 8712 | "input": "\ud88a\udd3120.\u97f3.\ua8661.", | 8713 | | - "output": null | | 8713 | + "output": "xn--20-9802c.xn--0w5a.xn--1-eg4e." | 8714 | 8714 | }, | 8715 | 8715 | { | 8716 | | - "comment": "V7; A4_2 (ignored)", | | 8716 | + "comment": "A4_2 (ignored)", | 8717 | 8717 | "input": "xn--20-9802c.xn--0w5a.xn--1-eg4e.", | 8718 | | - "output": null | | 8718 | + "output": "xn--20-9802c.xn--0w5a.xn--1-eg4e." | 8719 | 8719 | }, | 8720 | 8720 | { | 8721 | 8721 | "comment": "V7", | | 9095 | 9095 | "output": null | 9096 | 9096 | }, | 9097 | 9097 | { | 9098 | | - "comment": "C2; V7", | | 9098 | + "comment": "C2", | 9099 | 9099 | "input": "\ud88a\udf9a\uff19\ua369\u17d3\uff0e\u200d\u00df", | 9100 | 9100 | "output": null | 9101 | 9101 | }, | 9102 | 9102 | { | 9103 | | - "comment": "C2; V7", | | 9103 | + "comment": "C2", | 9104 | 9104 | "input": "\ud88a\udf9a9\ua369\u17d3.\u200d\u00df", | 9105 | 9105 | "output": null | 9106 | 9106 | }, | 9107 | 9107 | { | 9108 | | - "comment": "C2; V7", | | 9108 | + "comment": "C2", | 9109 | 9109 | "input": "\ud88a\udf9a9\ua369\u17d3.\u200dSS", | 9110 | 9110 | "output": null | 9111 | 9111 | }, | 9112 | 9112 | { | 9113 | | - "comment": "C2; V7", | | 9113 | + "comment": "C2", | 9114 | 9114 | "input": "\ud88a\udf9a9\ua369\u17d3.\u200dss", | 9115 | 9115 | "output": null | 9116 | 9116 | }, | 9117 | 9117 | { | 9118 | | - "comment": "V7", | 9119 | 9118 | "input": "xn--9-i0j5967eg3qz.ss", | 9120 | | - "output": null | | 9119 | + "output": "xn--9-i0j5967eg3qz.ss" | 9121 | 9120 | }, | 9122 | 9121 | { | 9123 | | - "comment": "C2; V7", | | 9122 | + "input": "\ud88a\udf9a9\ua369\u17d3.ss", | | 9123 | + "output": "xn--9-i0j5967eg3qz.ss" | | 9124 | + }, | | 9125 | + { | | 9126 | + "input": "\ud88a\udf9a9\ua369\u17d3.SS", | | 9127 | + "output": "xn--9-i0j5967eg3qz.ss" | | 9128 | + }, | | 9129 | + { | | 9130 | + "comment": "C2", | 9124 | 9131 | "input": "xn--9-i0j5967eg3qz.xn--ss-l1t", | 9125 | 9132 | "output": null | 9126 | 9133 | }, | 9127 | 9134 | { | 9128 | | - "comment": "C2; V7", | | 9135 | + "comment": "C2", | 9129 | 9136 | "input": "xn--9-i0j5967eg3qz.xn--zca770n", | 9130 | 9137 | "output": null | 9131 | 9138 | }, | 9132 | 9139 | { | 9133 | | - "comment": "C2; V7", | | 9140 | + "comment": "C2", | 9134 | 9141 | "input": "\ud88a\udf9a\uff19\ua369\u17d3\uff0e\u200dSS", | 9135 | 9142 | "output": null | 9136 | 9143 | }, | 9137 | 9144 | { | 9138 | | - "comment": "C2; V7", | | 9145 | + "comment": "C2", | 9139 | 9146 | "input": "\ud88a\udf9a\uff19\ua369\u17d3\uff0e\u200dss", | 9140 | 9147 | "output": null | 9141 | 9148 | }, | 9142 | 9149 | { | 9143 | | - "comment": "C2; V7", | | 9150 | + "comment": "C2", | 9144 | 9151 | "input": "\ud88a\udf9a9\ua369\u17d3.\u200dSs", | 9145 | 9152 | "output": null | 9146 | 9153 | }, | 9147 | 9154 | { | 9148 | | - "comment": "C2; V7", | | 9155 | + "comment": "C2", | 9149 | 9156 | "input": "\ud88a\udf9a\uff19\ua369\u17d3\uff0e\u200dSs", | 9150 | 9157 | "output": null | 9151 | 9158 | }, | |
Collapse file Copy file name to clipboardExpand all lines: test/fixtures/wpt/url/resources/setters_tests.json +31Lines changed: 31 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 1195 | 1195 | "host": "test", | 1196 | 1196 | "hostname": "test" | 1197 | 1197 | } | | 1198 | + }, | | 1199 | + { | | 1200 | + "href": "foo://path/to", | | 1201 | + "new_value": ":80", | | 1202 | + "expected": { | | 1203 | + "href": "foo://path/to", | | 1204 | + "host": "path", | | 1205 | + "port": "" | | 1206 | + } | 1198 | 1207 | } | 1199 | 1208 | ], | 1200 | 1209 | "hostname": [ | | 1909 | 1918 | "expected": { | 1910 | 1919 | "port": "4" | 1911 | 1920 | } | | 1921 | + }, | | 1922 | + { | | 1923 | + "href": "https://domain.com:3000", | | 1924 | + "new_value": "\n\t80\n\t80\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 | + } | 1912 | 1935 | } | 1913 | 1936 | ], | 1914 | 1937 | "pathname": [ | | 2191 | 2214 | "href": "http://example.net/%00", | 2192 | 2215 | "pathname": "/%00" | 2193 | 2216 | } | | 2217 | + }, | | 2218 | + { | | 2219 | + "href": "foo://path/to", | | 2220 | + "new_value": "/..", | | 2221 | + "expected": { | | 2222 | + "href": "foo://path/", | | 2223 | + "pathname": "/" | | 2224 | + } | 2194 | 2225 | } | 2195 | 2226 | ], | 2196 | 2227 | "search": [ | |
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": "9504a83e014b6b26d6c09eaee89c6b83cb7410c2", | | 75 | + "commit": "593c46cf18ee325a8740d3f0f4c447840fb9919a", | 76 | 76 | "path": "url" | 77 | 77 | }, | 78 | 78 | "urlpattern": { | |
Collapse file Copy file name to clipboard +16-6Lines changed: 16 additions & 6 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 1 | 1 | { | 2 | | - "percent-encoding.window.js": { | 3 | | - "skip": "TODO: port from .window.js" | | 2 | + "IdnaTestV2.window.js": { | | 3 | + "fail": { | | 4 | + "expected": [ | | 5 | + "ToASCII(\"20.音.ꡦ1.\") A4_2 (ignored)", | | 6 | + "ToASCII(\"xn--20-9802c.xn--0w5a.xn--1-eg4e.\") A4_2 (ignored)", | | 7 | + "ToASCII(\"xn--9-i0j5967eg3qz.ss\")", | | 8 | + "ToASCII(\"9ꍩ៓.ss\")", | | 9 | + "ToASCII(\"9ꍩ៓.SS\")" | | 10 | + ] | | 11 | + } | 4 | 12 | }, | 5 | 13 | "historical.any.js": { | 6 | 14 | "fail": { | 7 | | - "note": "We are faking location with a URL object for the sake of the testharness and it has searchParams.", | 8 | 15 | "expected": [ | 9 | 16 | "searchParams on location object" | 10 | 17 | ] | 11 | 18 | } | 12 | 19 | }, | 13 | | - "url-setters-a-area.window.js": { | 14 | | - "skip": "already tested in url-setters.any.js" | 15 | | - }, | 16 | 20 | "javascript-urls.window.js": { | 17 | 21 | "skip": "requires document.body reference" | | 22 | + }, | | 23 | + "percent-encoding.window.js": { | | 24 | + "skip": "TODO: port from .window.js" | | 25 | + }, | | 26 | + "url-setters-a-area.window.js": { | | 27 | + "skip": "already tested in url-setters.any.js" | 18 | 28 | } | 19 | 29 | } |
|