Skip to content

Commit e512e59

Browse files
committed
update toascii.json and urltestdata.json
1 parent 2e09b54 commit e512e59

File tree

2 files changed

+19
-5
lines changed

2 files changed

+19
-5
lines changed

tests/wpt/toascii.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@
259259
},
260260
{
261261
"input": "look\u180Eout.net",
262-
"output": null
262+
"output": "lookout.net"
263263
},
264264
{
265265
"input": "look\u2060out.net",
@@ -291,7 +291,7 @@
291291
},
292292
{
293293
"input": "look\u206Bout.net",
294-
"output": null
294+
"output": "lookout.net"
295295
},
296296
{
297297
"input": "look\uDB40\uDC01out.net",
@@ -319,16 +319,15 @@
319319
},
320320
{
321321
"input": "\u04C0.com",
322-
"output": null
322+
"output": "xn--s5a.com"
323323
},
324324
{
325-
"comment": "This is U+2F868 (which is mapped to U+36FC starting with Unicode 16.0)",
326325
"input": "\uD87E\uDC68.com",
327326
"output": "xn--snl.com"
328327
},
329328
{
330329
"input": "\u2183.com",
331-
"output": null
330+
"output": "xn--r5g.com"
332331
},
333332
{
334333
"input": "look\u034Fout.net",

tests/wpt/urltestdata.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8507,6 +8507,21 @@
85078507
"search": "",
85088508
"username": ""
85098509
},
8510+
{
8511+
"input": "non-special:cannot-be-a-base-url-!\"$%&'()*+,-.;<=>@[\\]^_`{|}~@/",
8512+
"base": null,
8513+
"hash": "",
8514+
"host": "",
8515+
"hostname": "",
8516+
"href": "non-special:cannot-be-a-base-url-!\"$%&'()*+,-.;<=>@[\\]^_`{|}~@/",
8517+
"origin": "null",
8518+
"password": "",
8519+
"pathname": "cannot-be-a-base-url-!\"$%&'()*+,-.;<=>@[\\]^_`{|}~@/",
8520+
"port": "",
8521+
"protocol": "non-special:",
8522+
"search": "",
8523+
"username": ""
8524+
},
85108525
{
85118526
"input": "https://www.example.com/path{\u007Fpath.html?query'\u007F=query#fragment<\u007Ffragment",
85128527
"base": null,

0 commit comments

Comments
 (0)