Skip to content

Commit 53a7dd7

Browse files
mertcanaltinaduh95
authored andcommitted
test: update wpt test
PR-URL: #53814 Reviewed-By: Yagiz Nizipli <[email protected]> Reviewed-By: Filip Skokan <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent 7637f29 commit 53a7dd7

File tree

3 files changed

+28
-2
lines changed

3 files changed

+28
-2
lines changed

test/fixtures/wpt/README.md

+1-1
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/1e140d63ec/resources
3030
- streams: https://github.com/web-platform-tests/wpt/tree/9b03282a99/streams
31-
- url: https://github.com/web-platform-tests/wpt/tree/7f369fef2b/url
31+
- url: https://github.com/web-platform-tests/wpt/tree/6a39784534/url
3232
- user-timing: https://github.com/web-platform-tests/wpt/tree/5ae85bf826/user-timing
3333
- wasm/jsapi: https://github.com/web-platform-tests/wpt/tree/cde25e7e3c/wasm/jsapi
3434
- wasm/webapi: https://github.com/web-platform-tests/wpt/tree/fd1b23eeaa/wasm/webapi

test/fixtures/wpt/url/resources/toascii.json

+26
Original file line numberDiff line numberDiff line change
@@ -172,5 +172,31 @@
172172
{
173173
"input": "",
174174
"output": "xn--hdh"
175+
},
176+
{
177+
"comment": "NFC normalization (forbidden < and > characters are normalized to valid ones)",
178+
"input": "=\u0338",
179+
"output": "xn--1ch"
180+
},
181+
{
182+
"input": "<\u0338",
183+
"output": "xn--gdh"
184+
},
185+
{
186+
"input": ">\u0338",
187+
"output": "xn--hdh"
188+
},
189+
{
190+
"comment": "Same with inserted IDNA ignored code point",
191+
"input": "=\u00AD\u0338",
192+
"output": "xn--1ch"
193+
},
194+
{
195+
"input": "<\u00AD\u0338",
196+
"output": "xn--gdh"
197+
},
198+
{
199+
"input": ">\u00AD\u0338",
200+
"output": "xn--hdh"
175201
}
176202
]

test/fixtures/wpt/versions.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
"path": "streams"
7373
},
7474
"url": {
75-
"commit": "7f369fef2b6f740a0738510331274bf2cbf7b509",
75+
"commit": "6a39784534e118acc102cf5252c542378831401d",
7676
"path": "url"
7777
},
7878
"user-timing": {

0 commit comments

Comments
 (0)