Skip to content

Commit 7e3fcf9

Browse files
committed
test: update web platform tests
1 parent 5ec03c5 commit 7e3fcf9

File tree

2 files changed

+46
-8
lines changed

2 files changed

+46
-8
lines changed

tests/wpt/percent-encoding.json

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,5 @@
4444
"output": {
4545
"utf-8": "%C3%A1|"
4646
}
47-
},
48-
"Surrogate!",
49-
{
50-
"input": "\ud800",
51-
"output": {
52-
"utf-8": "%EF%BF%BD",
53-
"windows-1252": "%26%2365533%3B"
54-
}
5547
}
5648
]

tests/wpt/urltestdata.json

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7907,6 +7907,22 @@
79077907
"search": "",
79087908
"hash": ""
79097909
},
7910+
"Percent-encoded http: in blob:",
7911+
{
7912+
"input": "blob:http%3a//example.org/",
7913+
"base": null,
7914+
"href": "blob:http%3a//example.org/",
7915+
"origin": "null",
7916+
"protocol": "blob:",
7917+
"username": "",
7918+
"password": "",
7919+
"host": "",
7920+
"hostname": "",
7921+
"port": "",
7922+
"pathname": "http%3a//example.org/",
7923+
"search": "",
7924+
"hash": ""
7925+
},
79107926
"Invalid IPv4 radix digits",
79117927
{
79127928
"input": "http://0x7f.0.0.0x7g",
@@ -9484,5 +9500,35 @@
94849500
"input": "stun://[:1]",
94859501
"base": null,
94869502
"failure": true
9503+
},
9504+
{
9505+
"input": "w://x:0",
9506+
"base": null,
9507+
"href": "w://x:0",
9508+
"origin": "null",
9509+
"protocol": "w:",
9510+
"username": "",
9511+
"password": "",
9512+
"host": "x:0",
9513+
"hostname": "x",
9514+
"port": "0",
9515+
"pathname": "",
9516+
"search": "",
9517+
"hash": ""
9518+
},
9519+
{
9520+
"input": "west://x:0",
9521+
"base": null,
9522+
"href": "west://x:0",
9523+
"origin": "null",
9524+
"protocol": "west:",
9525+
"username": "",
9526+
"password": "",
9527+
"host": "x:0",
9528+
"hostname": "x",
9529+
"port": "0",
9530+
"pathname": "",
9531+
"search": "",
9532+
"hash": ""
94879533
}
94889534
]

0 commit comments

Comments
 (0)