|
11 | 11 | "urlpattern.any.js": { |
12 | 12 | "fail": { |
13 | 13 | "expected": [ |
14 | | - "Pattern: [{\"protocol\":\"http\",\"port\":\"80 \"}] Inputs: [{\"protocol\":\"http\",\"port\":\"80\"}]", |
15 | 14 | "Pattern: [\"https://{sub.}?example{.com/}foo\"] Inputs: [\"https://example.com/foo\"]", |
16 | | - "Pattern: [{\"hostname\":\"bad#hostname\"}] Inputs: undefined", |
17 | | - "Pattern: [{\"hostname\":\"bad/hostname\"}] Inputs: undefined", |
18 | | - "Pattern: [{\"hostname\":\"bad\\\\\\\\hostname\"}] Inputs: undefined", |
19 | | - "Pattern: [{\"hostname\":\"bad\\nhostname\"}] Inputs: undefined", |
20 | | - "Pattern: [{\"hostname\":\"bad\\rhostname\"}] Inputs: undefined", |
21 | | - "Pattern: [{\"hostname\":\"bad\\thostname\"}] Inputs: undefined" |
| 15 | + "Pattern: [{\"hostname\":\"bad#hostname\"}] Inputs: [{\"hostname\":\"bad\"}]", |
| 16 | + "Pattern: [{\"hostname\":\"bad/hostname\"}] Inputs: [{\"hostname\":\"bad\"}]", |
| 17 | + "Pattern: [{\"hostname\":\"bad\\\\\\\\hostname\"}] Inputs: [{\"hostname\":\"badhostname\"}]", |
| 18 | + "Pattern: [{\"hostname\":\"bad\\nhostname\"}] Inputs: [{\"hostname\":\"badhostname\"}]", |
| 19 | + "Pattern: [{\"hostname\":\"bad\\rhostname\"}] Inputs: [{\"hostname\":\"badhostname\"}]", |
| 20 | + "Pattern: [{\"hostname\":\"bad\\thostname\"}] Inputs: [{\"hostname\":\"badhostname\"}]" |
22 | 21 | ] |
23 | 22 | } |
24 | 23 | }, |
25 | 24 | "urlpattern.https.any.js": { |
26 | 25 | "fail": { |
27 | 26 | "expected": [ |
28 | | - "Pattern: [{\"protocol\":\"http\",\"port\":\"80 \"}] Inputs: [{\"protocol\":\"http\",\"port\":\"80\"}]", |
29 | 27 | "Pattern: [\"https://{sub.}?example{.com/}foo\"] Inputs: [\"https://example.com/foo\"]", |
30 | | - "Pattern: [{\"hostname\":\"bad#hostname\"}] Inputs: undefined", |
31 | | - "Pattern: [{\"hostname\":\"bad/hostname\"}] Inputs: undefined", |
32 | | - "Pattern: [{\"hostname\":\"bad\\\\\\\\hostname\"}] Inputs: undefined", |
33 | | - "Pattern: [{\"hostname\":\"bad\\nhostname\"}] Inputs: undefined", |
34 | | - "Pattern: [{\"hostname\":\"bad\\rhostname\"}] Inputs: undefined", |
35 | | - "Pattern: [{\"hostname\":\"bad\\thostname\"}] Inputs: undefined" |
| 28 | + "Pattern: [{\"hostname\":\"bad#hostname\"}] Inputs: [{\"hostname\":\"bad\"}]", |
| 29 | + "Pattern: [{\"hostname\":\"bad/hostname\"}] Inputs: [{\"hostname\":\"bad\"}]", |
| 30 | + "Pattern: [{\"hostname\":\"bad\\\\\\\\hostname\"}] Inputs: [{\"hostname\":\"badhostname\"}]", |
| 31 | + "Pattern: [{\"hostname\":\"bad\\nhostname\"}] Inputs: [{\"hostname\":\"badhostname\"}]", |
| 32 | + "Pattern: [{\"hostname\":\"bad\\rhostname\"}] Inputs: [{\"hostname\":\"badhostname\"}]", |
| 33 | + "Pattern: [{\"hostname\":\"bad\\thostname\"}] Inputs: [{\"hostname\":\"badhostname\"}]" |
36 | 34 | ] |
37 | 35 | } |
38 | 36 | } |
|
0 commit comments