forked from nodejs/node
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathurlpattern.json
More file actions
39 lines (39 loc) · 1.84 KB
/
urlpattern.json
File metadata and controls
39 lines (39 loc) · 1.84 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{
"resources/urlpattern-compare-tests.tentative.js": {
"skip": "compareComponent function is not yet included in the URLPattern spec"
},
"urlpattern-compare.tentative.any.js": {
"skip": "compareComponent function is not yet included in the URLPattern spec"
},
"urlpattern-compare.tentative.https.any.js": {
"skip": "compareComponent function is not yet included in the URLPattern spec"
},
"urlpattern.any.js": {
"fail": {
"expected": [
"Pattern: [{\"protocol\":\"http\",\"port\":\"80 \"}] Inputs: [{\"protocol\":\"http\",\"port\":\"80\"}]",
"Pattern: [\"https://{sub.}?example{.com/}foo\"] Inputs: [\"https://example.com/foo\"]",
"Pattern: [{\"hostname\":\"bad#hostname\"}] Inputs: undefined",
"Pattern: [{\"hostname\":\"bad/hostname\"}] Inputs: undefined",
"Pattern: [{\"hostname\":\"bad\\\\\\\\hostname\"}] Inputs: undefined",
"Pattern: [{\"hostname\":\"bad\\nhostname\"}] Inputs: undefined",
"Pattern: [{\"hostname\":\"bad\\rhostname\"}] Inputs: undefined",
"Pattern: [{\"hostname\":\"bad\\thostname\"}] Inputs: undefined"
]
}
},
"urlpattern.https.any.js": {
"fail": {
"expected": [
"Pattern: [{\"protocol\":\"http\",\"port\":\"80 \"}] Inputs: [{\"protocol\":\"http\",\"port\":\"80\"}]",
"Pattern: [\"https://{sub.}?example{.com/}foo\"] Inputs: [\"https://example.com/foo\"]",
"Pattern: [{\"hostname\":\"bad#hostname\"}] Inputs: undefined",
"Pattern: [{\"hostname\":\"bad/hostname\"}] Inputs: undefined",
"Pattern: [{\"hostname\":\"bad\\\\\\\\hostname\"}] Inputs: undefined",
"Pattern: [{\"hostname\":\"bad\\nhostname\"}] Inputs: undefined",
"Pattern: [{\"hostname\":\"bad\\rhostname\"}] Inputs: undefined",
"Pattern: [{\"hostname\":\"bad\\thostname\"}] Inputs: undefined"
]
}
}
}