Tests/LibWeb: Sync to latest URLPattern WPT test data
This commit is contained in:
parent
602e7fe2bd
commit
2bc0ea3945
2 changed files with 30 additions and 3 deletions
|
|
@ -1,8 +1,9 @@
|
|||
Harness status: OK
|
||||
|
||||
Found 367 tests
|
||||
Found 370 tests
|
||||
|
||||
367 Pass
|
||||
368 Pass
|
||||
2 Fail
|
||||
Pass Loading data...
|
||||
Pass Pattern: [{"pathname":"/foo/bar"}] Inputs: [{"pathname":"/foo/bar"}]
|
||||
Pass Pattern: [{"pathname":"/foo/bar"}] Inputs: [{"pathname":"/foo/ba"}]
|
||||
|
|
@ -179,6 +180,8 @@ Pass Pattern: [{"port":"80"}] Inputs: [{"port":"80x"}]
|
|||
Pass Pattern: [{"port":"80"}] Inputs: [{"port":"80?x"}]
|
||||
Pass Pattern: [{"port":"80"}] Inputs: [{"port":"80\\x"}]
|
||||
Pass Pattern: [{"port":"(.*)"}] Inputs: [{"port":"invalid80"}]
|
||||
Fail Pattern: [{"protocol":"https","port":"443*"}] Inputs: [{"protocol":"https","port":"4430"}]
|
||||
Fail Pattern: [{"protocol":"https","port":"*443"}] Inputs: [{"protocol":"https","port":"1443"}]
|
||||
Pass Pattern: [{"pathname":"/foo/bar"}] Inputs: [{"pathname":"/foo/./bar"}]
|
||||
Pass Pattern: [{"pathname":"/foo/baz"}] Inputs: [{"pathname":"/foo/bar/../baz"}]
|
||||
Pass Pattern: [{"pathname":"/caf%C3%A9"}] Inputs: [{"pathname":"/café"}]
|
||||
|
|
@ -369,4 +372,5 @@ Pass Pattern: [{"hostname":":domain(.*)"}] Inputs: [{"hostname":"localhost"}]
|
|||
Pass Pattern: ["((?R)):"] Inputs: undefined
|
||||
Pass Pattern: ["(\\H):"] Inputs: undefined
|
||||
Pass Pattern: [{"pathname":"/:foo((?<x>a))"}] Inputs: [{"pathname":"/a"}]
|
||||
Pass Pattern: [{"pathname":"/foo/(bar(?<x>baz))"}] Inputs: [{"pathname":"/foo/barbaz"}]
|
||||
Pass Pattern: [{"pathname":"/foo/(bar(?<x>baz))"}] Inputs: [{"pathname":"/foo/barbaz"}]
|
||||
Pass Pattern: [{"pathname":"/:𠀀"}] Inputs: [{"pathname":"/foo"}]
|
||||
|
|
@ -1266,6 +1266,22 @@
|
|||
},
|
||||
"expected_match": null
|
||||
},
|
||||
{
|
||||
"pattern": [{ "protocol": "https", "port": "443*" }],
|
||||
"inputs": [{ "protocol": "https", "port": "4430" }],
|
||||
"expected_match": {
|
||||
"protocol": { "input": "https", "groups": {} },
|
||||
"port": { "input": "4430", "groups": { "0": "0" }}
|
||||
}
|
||||
},
|
||||
{
|
||||
"pattern": [{ "protocol": "https", "port": "*443" }],
|
||||
"inputs": [{ "protocol": "https", "port": "1443" }],
|
||||
"expected_match": {
|
||||
"protocol": { "input": "https", "groups": {} },
|
||||
"port": { "input": "1443", "groups": { "0": "1" }}
|
||||
}
|
||||
},
|
||||
{
|
||||
"pattern": [{ "pathname": "/foo/bar" }],
|
||||
"inputs": [{ "pathname": "/foo/./bar" }],
|
||||
|
|
@ -3154,5 +3170,12 @@
|
|||
"groups": {"0": "barbaz"}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"pattern": [{ "pathname": "/:𠀀" }],
|
||||
"inputs": [{ "pathname": "/foo" }],
|
||||
"expected_match": {
|
||||
"pathname": { "input": "/foo", "groups": { "𠀀": "foo" } }
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
|
|||
Loading…
Reference in a new issue