aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/script/htmlareaelement.rs15
-rw-r--r--tests/wpt/meta/__dir__.ini1
-rw-r--r--tests/wpt/meta/dom/idlharness.window.js.ini69
-rw-r--r--tests/wpt/meta/urlpattern/urlpattern.any.js.ini1788
-rw-r--r--tests/wpt/meta/urlpattern/urlpattern.https.any.js.ini1788
-rw-r--r--tests/wpt/mozilla/meta/__dir__.ini1
6 files changed, 15 insertions, 3647 deletions
diff --git a/tests/unit/script/htmlareaelement.rs b/tests/unit/script/htmlareaelement.rs
index be4cb12c0cc..becfd17b88a 100644
--- a/tests/unit/script/htmlareaelement.rs
+++ b/tests/unit/script/htmlareaelement.rs
@@ -187,4 +187,19 @@ fn test_hit_test_polygon() {
points: vec![7.0, 7.5, 8.2, 9.0, 11.0, 12.0],
};
assert!(!poly2.hit_test(&Point2D::new(10.0, 5.0)));
+ let poly3 = Area::Polygon {
+ points: vec![0.0, 0.0, 5.0, 0.0, 5.0, 5.0, 0.0, 5.0],
+ };
+ assert!(poly3.hit_test(&Point2D::new(1.0, 1.0)));
+ assert!(poly3.hit_test(&Point2D::new(2.0, 4.0)));
+ assert!(poly3.hit_test(&Point2D::new(4.0, 2.0)));
+ assert!(!poly3.hit_test(&Point2D::new(6.0, 0.0)));
+ assert!(!poly3.hit_test(&Point2D::new(0.0, 6.0)));
+ assert!(!poly3.hit_test(&Point2D::new(6.0, 6.0)));
+ // Concave polygon test
+ let poly4 = Area::Polygon {
+ points: vec![0.0, 0.0, 1.0, 1.0, 2.0, 0.0, 2.0, 2.0, 0.0, 2.0],
+ };
+ assert!(poly4.hit_test(&Point2D::new(1.5, 1.5)));
+ assert!(!poly4.hit_test(&Point2D::new(1.0, 0.0)));
}
diff --git a/tests/wpt/meta/__dir__.ini b/tests/wpt/meta/__dir__.ini
index 057fb932df2..debe6260363 100644
--- a/tests/wpt/meta/__dir__.ini
+++ b/tests/wpt/meta/__dir__.ini
@@ -1,5 +1,4 @@
prefs: [
"dom_serviceworker_enabled:true",
"dom_testutils_enabled:true",
- "dom_urlpattern_enabled:true",
]
diff --git a/tests/wpt/meta/dom/idlharness.window.js.ini b/tests/wpt/meta/dom/idlharness.window.js.ini
index f66b84985ad..3ad37c3770f 100644
--- a/tests/wpt/meta/dom/idlharness.window.js.ini
+++ b/tests/wpt/meta/dom/idlharness.window.js.ini
@@ -1,10 +1,4 @@
[idlharness.window.html?exclude=Node]
- [Element interface: operation replaceWith((Node or DOMString)...)]
- expected: FAIL
-
- [Document interface: operation prepend((Node or DOMString)...)]
- expected: FAIL
-
[AbortSignal must be primary interface of new AbortController().signal]
expected: FAIL
@@ -35,54 +29,30 @@
[AbortController interface: operation abort()]
expected: FAIL
- [Element interface: operation prepend((Node or DOMString)...)]
- expected: FAIL
-
[AbortController interface: attribute signal]
expected: FAIL
- [CharacterData interface: operation before((Node or DOMString)...)]
- expected: FAIL
-
[AbortSignal interface: attribute aborted]
expected: FAIL
- [Element interface: operation after((Node or DOMString)...)]
- expected: FAIL
-
[CharacterData interface: existence and properties of interface prototype object's @@unscopables property]
expected: FAIL
- [CharacterData interface: operation remove()]
- expected: FAIL
-
[AbortController interface: new AbortController() must inherit property "signal" with the proper type]
expected: FAIL
[AbortController interface: new AbortController() must inherit property "abort()" with the proper type]
expected: FAIL
- [Element interface: attribute slot]
- expected: FAIL
-
[DocumentType interface: existence and properties of interface prototype object's @@unscopables property]
expected: FAIL
- [CharacterData interface: operation replaceWith((Node or DOMString)...)]
- expected: FAIL
-
- [DocumentType interface: operation replaceWith((Node or DOMString)...)]
- expected: FAIL
-
[EventTarget interface: calling dispatchEvent(Event) on new AbortController().signal with too few arguments must throw TypeError]
expected: FAIL
[DocumentFragment interface: existence and properties of interface prototype object's @@unscopables property]
expected: FAIL
- [DocumentType interface: operation before((Node or DOMString)...)]
- expected: FAIL
-
[AbortSignal interface: new AbortController().signal must inherit property "aborted" with the proper type]
expected: FAIL
@@ -104,51 +74,15 @@
[AbortSignal interface: existence and properties of interface prototype object]
expected: FAIL
- [Element interface: operation remove()]
- expected: FAIL
-
- [DocumentFragment interface: operation replaceChildren((Node or DOMString)...)]
- expected: FAIL
-
[NodeFilter interface: existence and properties of interface object]
expected: FAIL
[Stringification of new AbortController().signal]
expected: FAIL
- [CharacterData interface: operation after((Node or DOMString)...)]
- expected: FAIL
-
- [Element interface: operation replaceChildren((Node or DOMString)...)]
- expected: FAIL
-
- [DocumentFragment interface: operation prepend((Node or DOMString)...)]
- expected: FAIL
-
- [Document interface: operation replaceChildren((Node or DOMString)...)]
- expected: FAIL
-
- [Document interface: operation append((Node or DOMString)...)]
- expected: FAIL
-
- [DocumentType interface: operation remove()]
- expected: FAIL
-
- [DocumentType interface: operation after((Node or DOMString)...)]
- expected: FAIL
-
[Element interface: existence and properties of interface prototype object's @@unscopables property]
expected: FAIL
- [DocumentFragment interface: operation append((Node or DOMString)...)]
- expected: FAIL
-
- [Element interface: operation append((Node or DOMString)...)]
- expected: FAIL
-
- [Element interface: operation before((Node or DOMString)...)]
- expected: FAIL
-
[XPathNSResolver interface: document.createNSResolver(document.body) must inherit property "lookupNamespaceURI(DOMString?)" with the proper type]
expected: FAIL
@@ -454,6 +388,3 @@
[Element interface: element must inherit property "customElementRegistry" with the proper type]
expected: FAIL
-
-
-[idlharness.window.html?include=Node]
diff --git a/tests/wpt/meta/urlpattern/urlpattern.any.js.ini b/tests/wpt/meta/urlpattern/urlpattern.any.js.ini
index 7248fced522..065a80d7f08 100644
--- a/tests/wpt/meta/urlpattern/urlpattern.any.js.ini
+++ b/tests/wpt/meta/urlpattern/urlpattern.any.js.ini
@@ -1,760 +1,7 @@
[urlpattern.any.worker.html]
- [Pattern: [{"pathname":"/foo/bar"}\] Inputs: [{"pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar"}\] Inputs: [{"pathname":"/foo/ba"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar"}\] Inputs: [{"pathname":"/foo/bar/"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar"}\] Inputs: [{"pathname":"/foo/bar/baz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar"}\] Inputs: ["https://example.com/foo/bar"\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar"}\] Inputs: ["https://example.com/foo/bar/baz"\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar"}\] Inputs: [{"hostname":"example.com","pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar"}\] Inputs: [{"hostname":"example.com","pathname":"/foo/bar/baz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar"}\] Inputs: [{"pathname":"/foo/bar","baseURL":"https://example.com"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar"}\] Inputs: [{"pathname":"/foo/bar/baz","baseURL":"https://example.com"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar","baseURL":"https://example.com?query#hash"}\] Inputs: [{"pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar","baseURL":"https://example.com?query#hash"}\] Inputs: [{"hostname":"example.com","pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar","baseURL":"https://example.com?query#hash"}\] Inputs: [{"protocol":"https","hostname":"example.com","pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar","baseURL":"https://example.com"}\] Inputs: [{"protocol":"https","hostname":"example.com","pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar","baseURL":"https://example.com"}\] Inputs: [{"protocol":"https","hostname":"example.com","pathname":"/foo/bar/baz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar","baseURL":"https://example.com?query#hash"}\] Inputs: [{"protocol":"https","hostname":"example.com","pathname":"/foo/bar","search":"otherquery","hash":"otherhash"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar","baseURL":"https://example.com"}\] Inputs: [{"protocol":"https","hostname":"example.com","pathname":"/foo/bar","search":"otherquery","hash":"otherhash"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar","baseURL":"https://example.com?otherquery#otherhash"}\] Inputs: [{"protocol":"https","hostname":"example.com","pathname":"/foo/bar","search":"otherquery","hash":"otherhash"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar","baseURL":"https://example.com?query#hash"}\] Inputs: ["https://example.com/foo/bar"\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar","baseURL":"https://example.com?query#hash"}\] Inputs: ["https://example.com/foo/bar?otherquery#otherhash"\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar","baseURL":"https://example.com?query#hash"}\] Inputs: ["https://example.com/foo/bar?query#hash"\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar","baseURL":"https://example.com?query#hash"}\] Inputs: ["https://example.com/foo/bar/baz"\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar","baseURL":"https://example.com?query#hash"}\] Inputs: ["https://other.com/foo/bar"\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar","baseURL":"https://example.com?query#hash"}\] Inputs: ["http://other.com/foo/bar"\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar","baseURL":"https://example.com?query#hash"}\] Inputs: [{"pathname":"/foo/bar","baseURL":"https://example.com"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar","baseURL":"https://example.com?query#hash"}\] Inputs: [{"pathname":"/foo/bar","baseURL":"https://example.com?query#hash"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar","baseURL":"https://example.com?query#hash"}\] Inputs: [{"pathname":"/foo/bar/baz","baseURL":"https://example.com"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar","baseURL":"https://example.com?query#hash"}\] Inputs: [{"pathname":"/foo/bar","baseURL":"https://other.com"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar","baseURL":"https://example.com?query#hash"}\] Inputs: [{"pathname":"/foo/bar","baseURL":"http://example.com"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/:bar"}\] Inputs: [{"pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/([^\\\\/\]+?)"}\] Inputs: [{"pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/:bar"}\] Inputs: [{"pathname":"/foo/index.html"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/:bar"}\] Inputs: [{"pathname":"/foo/bar/"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/:bar"}\] Inputs: [{"pathname":"/foo/"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/(.*)"}\] Inputs: [{"pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/*"}\] Inputs: [{"pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/(.*)"}\] Inputs: [{"pathname":"/foo/bar/baz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/*"}\] Inputs: [{"pathname":"/foo/bar/baz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/(.*)"}\] Inputs: [{"pathname":"/foo/"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/*"}\] Inputs: [{"pathname":"/foo/"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/(.*)"}\] Inputs: [{"pathname":"/foo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/*"}\] Inputs: [{"pathname":"/foo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/:bar(.*)"}\] Inputs: [{"pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/:bar(.*)"}\] Inputs: [{"pathname":"/foo/bar/baz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/:bar(.*)"}\] Inputs: [{"pathname":"/foo/"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/:bar(.*)"}\] Inputs: [{"pathname":"/foo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/:bar?"}\] Inputs: [{"pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/:bar?"}\] Inputs: [{"pathname":"/foo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/:bar?"}\] Inputs: [{"pathname":"/foo/"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/:bar?"}\] Inputs: [{"pathname":"/foobar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/:bar?"}\] Inputs: [{"pathname":"/foo/bar/baz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/:bar+"}\] Inputs: [{"pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/:bar+"}\] Inputs: [{"pathname":"/foo/bar/baz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/:bar+"}\] Inputs: [{"pathname":"/foo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/:bar+"}\] Inputs: [{"pathname":"/foo/"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/:bar+"}\] Inputs: [{"pathname":"/foobar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/:bar*"}\] Inputs: [{"pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/:bar*"}\] Inputs: [{"pathname":"/foo/bar/baz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/:bar*"}\] Inputs: [{"pathname":"/foo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/:bar*"}\] Inputs: [{"pathname":"/foo/"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/:bar*"}\] Inputs: [{"pathname":"/foobar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/(.*)?"}\] Inputs: [{"pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/*?"}\] Inputs: [{"pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/(.*)?"}\] Inputs: [{"pathname":"/foo/bar/baz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/*?"}\] Inputs: [{"pathname":"/foo/bar/baz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/(.*)?"}\] Inputs: [{"pathname":"/foo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/*?"}\] Inputs: [{"pathname":"/foo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/(.*)?"}\] Inputs: [{"pathname":"/foo/"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/*?"}\] Inputs: [{"pathname":"/foo/"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/(.*)?"}\] Inputs: [{"pathname":"/foobar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/*?"}\] Inputs: [{"pathname":"/foobar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/(.*)?"}\] Inputs: [{"pathname":"/fo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/*?"}\] Inputs: [{"pathname":"/fo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/(.*)+"}\] Inputs: [{"pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/*+"}\] Inputs: [{"pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/(.*)+"}\] Inputs: [{"pathname":"/foo/bar/baz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/*+"}\] Inputs: [{"pathname":"/foo/bar/baz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/(.*)+"}\] Inputs: [{"pathname":"/foo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/*+"}\] Inputs: [{"pathname":"/foo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/(.*)+"}\] Inputs: [{"pathname":"/foo/"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/*+"}\] Inputs: [{"pathname":"/foo/"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/(.*)+"}\] Inputs: [{"pathname":"/foobar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/*+"}\] Inputs: [{"pathname":"/foobar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/(.*)+"}\] Inputs: [{"pathname":"/fo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/*+"}\] Inputs: [{"pathname":"/fo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/(.*)*"}\] Inputs: [{"pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/**"}\] Inputs: [{"pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/(.*)*"}\] Inputs: [{"pathname":"/foo/bar/baz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/**"}\] Inputs: [{"pathname":"/foo/bar/baz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/(.*)*"}\] Inputs: [{"pathname":"/foo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/**"}\] Inputs: [{"pathname":"/foo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/(.*)*"}\] Inputs: [{"pathname":"/foo/"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/**"}\] Inputs: [{"pathname":"/foo/"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/(.*)*"}\] Inputs: [{"pathname":"/foobar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/**"}\] Inputs: [{"pathname":"/foobar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/(.*)*"}\] Inputs: [{"pathname":"/fo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/**"}\] Inputs: [{"pathname":"/fo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo{/bar}"}\] Inputs: [{"pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo{/bar}"}\] Inputs: [{"pathname":"/foo/bar/baz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo{/bar}"}\] Inputs: [{"pathname":"/foo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo{/bar}"}\] Inputs: [{"pathname":"/foo/"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo{/bar}?"}\] Inputs: [{"pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo{/bar}?"}\] Inputs: [{"pathname":"/foo/bar/baz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo{/bar}?"}\] Inputs: [{"pathname":"/foo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo{/bar}?"}\] Inputs: [{"pathname":"/foo/"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo{/bar}+"}\] Inputs: [{"pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo{/bar}+"}\] Inputs: [{"pathname":"/foo/bar/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo{/bar}+"}\] Inputs: [{"pathname":"/foo/bar/baz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo{/bar}+"}\] Inputs: [{"pathname":"/foo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo{/bar}+"}\] Inputs: [{"pathname":"/foo/"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo{/bar}*"}\] Inputs: [{"pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo{/bar}*"}\] Inputs: [{"pathname":"/foo/bar/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo{/bar}*"}\] Inputs: [{"pathname":"/foo/bar/baz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo{/bar}*"}\] Inputs: [{"pathname":"/foo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo{/bar}*"}\] Inputs: [{"pathname":"/foo/"}\]]
- expected: FAIL
-
- [Pattern: [{"protocol":":café"}\] Inputs: [{"protocol":"foo"}\]]
- expected: FAIL
-
- [Pattern: [{"username":":café"}\] Inputs: [{"username":"foo"}\]]
- expected: FAIL
-
- [Pattern: [{"password":":café"}\] Inputs: [{"password":"foo"}\]]
- expected: FAIL
-
- [Pattern: [{"hostname":":café"}\] Inputs: [{"hostname":"foo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/:café"}\] Inputs: [{"pathname":"/foo"}\]]
- expected: FAIL
-
- [Pattern: [{"search":":café"}\] Inputs: [{"search":"foo"}\]]
- expected: FAIL
-
- [Pattern: [{"hash":":café"}\] Inputs: [{"hash":"foo"}\]]
- expected: FAIL
-
- [Pattern: [{"protocol":":℘"}\] Inputs: [{"protocol":"foo"}\]]
- expected: FAIL
-
- [Pattern: [{"username":":℘"}\] Inputs: [{"username":"foo"}\]]
- expected: FAIL
-
- [Pattern: [{"password":":℘"}\] Inputs: [{"password":"foo"}\]]
- expected: FAIL
-
- [Pattern: [{"hostname":":℘"}\] Inputs: [{"hostname":"foo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/:℘"}\] Inputs: [{"pathname":"/foo"}\]]
- expected: FAIL
-
- [Pattern: [{"search":":℘"}\] Inputs: [{"search":"foo"}\]]
- expected: FAIL
-
- [Pattern: [{"hash":":℘"}\] Inputs: [{"hash":"foo"}\]]
- expected: FAIL
-
- [Pattern: [{"protocol":":㐀"}\] Inputs: [{"protocol":"foo"}\]]
- expected: FAIL
-
- [Pattern: [{"username":":㐀"}\] Inputs: [{"username":"foo"}\]]
- expected: FAIL
-
- [Pattern: [{"password":":㐀"}\] Inputs: [{"password":"foo"}\]]
- expected: FAIL
-
- [Pattern: [{"hostname":":㐀"}\] Inputs: [{"hostname":"foo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/:㐀"}\] Inputs: [{"pathname":"/foo"}\]]
- expected: FAIL
-
- [Pattern: [{"search":":㐀"}\] Inputs: [{"search":"foo"}\]]
- expected: FAIL
-
- [Pattern: [{"hash":":㐀"}\] Inputs: [{"hash":"foo"}\]]
- expected: FAIL
-
- [Pattern: [{"protocol":"(.*)"}\] Inputs: [{"protocol":"café"}\]]
- expected: FAIL
-
- [Pattern: [{"protocol":"(.*)"}\] Inputs: [{"protocol":"cafe"}\]]
- expected: FAIL
-
- [Pattern: [{"protocol":"foo-bar"}\] Inputs: [{"protocol":"foo-bar"}\]]
- expected: FAIL
-
- [Pattern: [{"username":"caf%C3%A9"}\] Inputs: [{"username":"café"}\]]
- expected: FAIL
-
- [Pattern: [{"username":"café"}\] Inputs: [{"username":"café"}\]]
- expected: FAIL
-
- [Pattern: [{"username":"caf%c3%a9"}\] Inputs: [{"username":"café"}\]]
- expected: FAIL
-
- [Pattern: [{"password":"caf%C3%A9"}\] Inputs: [{"password":"café"}\]]
- expected: FAIL
-
- [Pattern: [{"password":"café"}\] Inputs: [{"password":"café"}\]]
- expected: FAIL
-
- [Pattern: [{"password":"caf%c3%a9"}\] Inputs: [{"password":"café"}\]]
- expected: FAIL
-
- [Pattern: [{"hostname":"xn--caf-dma.com"}\] Inputs: [{"hostname":"café.com"}\]]
- expected: FAIL
-
- [Pattern: [{"hostname":"café.com"}\] Inputs: [{"hostname":"café.com"}\]]
- expected: FAIL
-
- [Pattern: ["http://🚲.com/"\] Inputs: ["http://🚲.com/"\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"\\ud83d \\udeb2"}\] Inputs: [\]]
- expected: FAIL
-
- [Pattern: [{"pathname":":a󠄀b"}\] Inputs: [\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"test/:a𐑐b"}\] Inputs: [{"pathname":"test/foo"}\]]
- expected: FAIL
-
- [Pattern: [{"port":""}\] Inputs: [{"protocol":"http","port":"80"}\]]
- expected: FAIL
-
- [Pattern: [{"protocol":"http","port":"80"}\] Inputs: [{"protocol":"http","port":"80"}\]]
- expected: FAIL
-
- [Pattern: [{"protocol":"http","port":"80{20}?"}\] Inputs: [{"protocol":"http","port":"80"}\]]
- expected: FAIL
-
[Pattern: [{"protocol":"http","port":"80 "}\] Inputs: [{"protocol":"http","port":"80"}\]]
expected: FAIL
- [Pattern: [{"port":"80"}\] Inputs: [{"protocol":"http","port":"80"}\]]
- expected: FAIL
-
- [Pattern: [{"protocol":"http{s}?","port":"80"}\] Inputs: [{"protocol":"http","port":"80"}\]]
- expected: FAIL
-
- [Pattern: [{"port":"80"}\] Inputs: [{"port":"80"}\]]
- expected: FAIL
-
- [Pattern: [{"port":"(.*)"}\] Inputs: [{"port":"invalid80"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar"}\] Inputs: [{"pathname":"/foo/./bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/baz"}\] Inputs: [{"pathname":"/foo/bar/../baz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/caf%C3%A9"}\] Inputs: [{"pathname":"/café"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/café"}\] Inputs: [{"pathname":"/café"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/caf%c3%a9"}\] Inputs: [{"pathname":"/café"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar"}\] Inputs: [{"pathname":"foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar"}\] Inputs: [{"pathname":"foo/bar","baseURL":"https://example.com"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/../bar"}\] Inputs: [{"pathname":"/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"./foo/bar","baseURL":"https://example.com"}\] Inputs: [{"pathname":"foo/bar","baseURL":"https://example.com"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"","baseURL":"https://example.com"}\] Inputs: [{"pathname":"/","baseURL":"https://example.com"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"{/bar}","baseURL":"https://example.com/foo/"}\] Inputs: [{"pathname":"./bar","baseURL":"https://example.com/foo/"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"\\\\/bar","baseURL":"https://example.com/foo/"}\] Inputs: [{"pathname":"./bar","baseURL":"https://example.com/foo/"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"b","baseURL":"https://example.com/foo/"}\] Inputs: [{"pathname":"./b","baseURL":"https://example.com/foo/"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"foo/bar"}\] Inputs: ["https://example.com/foo/bar"\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"foo/bar","baseURL":"https://example.com"}\] Inputs: ["https://example.com/foo/bar"\]]
- expected: FAIL
-
- [Pattern: [{"pathname":":name.html","baseURL":"https://example.com"}\] Inputs: ["https://example.com/foo.html"\]]
- expected: FAIL
-
- [Pattern: [{"search":"q=caf%C3%A9"}\] Inputs: [{"search":"q=café"}\]]
- expected: FAIL
-
- [Pattern: [{"search":"q=café"}\] Inputs: [{"search":"q=café"}\]]
- expected: FAIL
-
- [Pattern: [{"search":"q=caf%c3%a9"}\] Inputs: [{"search":"q=café"}\]]
- expected: FAIL
-
- [Pattern: [{"hash":"caf%C3%A9"}\] Inputs: [{"hash":"café"}\]]
- expected: FAIL
-
- [Pattern: [{"hash":"café"}\] Inputs: [{"hash":"café"}\]]
- expected: FAIL
-
- [Pattern: [{"hash":"caf%c3%a9"}\] Inputs: [{"hash":"café"}\]]
- expected: FAIL
-
- [Pattern: [{"protocol":"about","pathname":"(blank|sourcedoc)"}\] Inputs: ["about:blank"\]]
- expected: FAIL
-
- [Pattern: [{"protocol":"data","pathname":":number([0-9\]+)"}\] Inputs: ["data:8675309"\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo!"}\] Inputs: [{"pathname":"/foo!"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo\\\\:"}\] Inputs: [{"pathname":"/foo:"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo\\\\{"}\] Inputs: [{"pathname":"/foo{"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo\\\\("}\] Inputs: [{"pathname":"/foo("}\]]
- expected: FAIL
-
- [Pattern: [{"protocol":"javascript","pathname":"var x = 1;"}\] Inputs: [{"protocol":"javascript","pathname":"var x = 1;"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"var x = 1;"}\] Inputs: [{"protocol":"javascript","pathname":"var x = 1;"}\]]
- expected: FAIL
-
- [Pattern: [{"protocol":"javascript","pathname":"var x = 1;"}\] Inputs: [{"baseURL":"javascript:var x = 1;"}\]]
- expected: FAIL
-
- [Pattern: [{"protocol":"(data|javascript)","pathname":"var x = 1;"}\] Inputs: [{"protocol":"javascript","pathname":"var x = 1;"}\]]
- expected: FAIL
-
- [Pattern: [{"protocol":"(https|javascript)","pathname":"var x = 1;"}\] Inputs: [{"protocol":"javascript","pathname":"var x = 1;"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"var x = 1;"}\] Inputs: [{"pathname":"var x = 1;"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar"}\] Inputs: ["./foo/bar","https://example.com"\]]
- expected: FAIL
-
- [Pattern: ["https://example.com:8080/foo?bar#baz"\] Inputs: [{"pathname":"/foo","search":"bar","hash":"baz","baseURL":"https://example.com:8080"}\]]
- expected: FAIL
-
- [Pattern: ["/foo?bar#baz","https://example.com:8080"\] Inputs: [{"pathname":"/foo","search":"bar","hash":"baz","baseURL":"https://example.com:8080"}\]]
- expected: FAIL
-
- [Pattern: ["http{s}?://{*.}?example.com/:product/:endpoint"\] Inputs: ["https://sub.example.com/foo/bar"\]]
- expected: FAIL
-
- [Pattern: ["https://example.com?foo"\] Inputs: ["https://example.com/?foo"\]]
- expected: FAIL
-
- [Pattern: ["https://example.com#foo"\] Inputs: ["https://example.com/#foo"\]]
- expected: FAIL
-
- [Pattern: ["https://example.com:8080?foo"\] Inputs: ["https://example.com:8080/?foo"\]]
- expected: FAIL
-
- [Pattern: ["https://example.com:8080#foo"\] Inputs: ["https://example.com:8080/#foo"\]]
- expected: FAIL
-
- [Pattern: ["https://example.com/?foo"\] Inputs: ["https://example.com/?foo"\]]
- expected: FAIL
-
- [Pattern: ["https://example.com/#foo"\] Inputs: ["https://example.com/#foo"\]]
- expected: FAIL
-
- [Pattern: ["https://example.com/*?foo"\] Inputs: ["https://example.com/?foo"\]]
- expected: FAIL
-
- [Pattern: ["https://example.com/*\\\\?foo"\] Inputs: ["https://example.com/?foo"\]]
- expected: FAIL
-
- [Pattern: ["https://example.com/:name?foo"\] Inputs: ["https://example.com/bar?foo"\]]
- expected: FAIL
-
- [Pattern: ["https://example.com/:name\\\\?foo"\] Inputs: ["https://example.com/bar?foo"\]]
- expected: FAIL
-
- [Pattern: ["https://example.com/(bar)?foo"\] Inputs: ["https://example.com/bar?foo"\]]
- expected: FAIL
-
- [Pattern: ["https://example.com/(bar)\\\\?foo"\] Inputs: ["https://example.com/bar?foo"\]]
- expected: FAIL
-
- [Pattern: ["https://example.com/{bar}?foo"\] Inputs: ["https://example.com/bar?foo"\]]
- expected: FAIL
-
- [Pattern: ["https://example.com/{bar}\\\\?foo"\] Inputs: ["https://example.com/bar?foo"\]]
- expected: FAIL
-
- [Pattern: ["https://example.com/"\] Inputs: ["https://example.com:8080/"\]]
- expected: FAIL
-
- [Pattern: ["data\\\\:foobar"\] Inputs: ["data:foobar"\]]
- expected: FAIL
-
- [Pattern: ["https://{sub.}?example.com/foo"\] Inputs: ["https://example.com/foo"\]]
- expected: FAIL
-
- [Pattern: ["https://(sub.)?example.com/foo"\] Inputs: ["https://example.com/foo"\]]
- expected: FAIL
-
- [Pattern: ["https://(sub.)?example(.com/)foo"\] Inputs: ["https://example.com/foo"\]]
- expected: FAIL
-
- [Pattern: ["https://(sub(?:.))?example.com/foo"\] Inputs: ["https://example.com/foo"\]]
- expected: FAIL
-
- [Pattern: ["file:///foo/bar"\] Inputs: ["file:///foo/bar"\]]
- expected: FAIL
-
- [Pattern: ["data:"\] Inputs: ["data:"\]]
- expected: FAIL
-
- [Pattern: ["foo://bar"\] Inputs: ["foo://bad_url_browser_interop"\]]
- expected: FAIL
-
- [Pattern: ["https://example.com/foo?bar#baz"\] Inputs: [{"protocol":"https:","search":"?bar","hash":"#baz","baseURL":"http://example.com/foo"}\]]
- expected: FAIL
-
- [Pattern: [{"protocol":"http{s}?:","search":"?bar","hash":"#baz"}\] Inputs: ["http://example.com/foo?bar#baz"\]]
- expected: FAIL
-
- [Pattern: ["?bar#baz","https://example.com/foo"\] Inputs: ["?bar#baz","https://example.com/foo"\]]
- expected: FAIL
-
- [Pattern: ["?bar","https://example.com/foo#baz"\] Inputs: ["?bar","https://example.com/foo#snafu"\]]
- expected: FAIL
-
- [Pattern: ["#baz","https://example.com/foo?bar"\] Inputs: ["#baz","https://example.com/foo?bar"\]]
- expected: FAIL
-
- [Pattern: ["#baz","https://example.com/foo"\] Inputs: ["#baz","https://example.com/foo"\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"*"}\] Inputs: ["foo","data:data-urls-cannot-be-base-urls"\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"*"}\] Inputs: ["foo","not|a|valid|url"\]]
- expected: FAIL
-
- [Pattern: ["https://foo\\\\:bar@example.com"\] Inputs: ["https://foo:bar@example.com"\]]
- expected: FAIL
-
- [Pattern: ["https://foo@example.com"\] Inputs: ["https://foo@example.com"\]]
- expected: FAIL
-
- [Pattern: ["https://\\\\:bar@example.com"\] Inputs: ["https://:bar@example.com"\]]
- expected: FAIL
-
- [Pattern: ["https://:user::pass@example.com"\] Inputs: ["https://foo:bar@example.com"\]]
- expected: FAIL
-
- [Pattern: ["https\\\\:foo\\\\:bar@example.com"\] Inputs: ["https:foo:bar@example.com"\]]
- expected: FAIL
-
- [Pattern: ["data\\\\:foo\\\\:bar@example.com"\] Inputs: ["data:foo:bar@example.com"\]]
- expected: FAIL
-
- [Pattern: ["https://foo{\\\\:}bar@example.com"\] Inputs: ["https://foo:bar@example.com"\]]
- expected: FAIL
-
- [Pattern: ["data{\\\\:}channel.html","https://example.com"\] Inputs: ["https://example.com/data:channel.html"\]]
- expected: FAIL
-
- [Pattern: ["http://[\\\\:\\\\:1\]/"\] Inputs: ["http://[::1\]/"\]]
- expected: FAIL
-
- [Pattern: ["http://[\\\\:\\\\:1\]:8080/"\] Inputs: ["http://[::1\]:8080/"\]]
- expected: FAIL
-
- [Pattern: ["http://[\\\\:\\\\:a\]/"\] Inputs: ["http://[::a\]/"\]]
- expected: FAIL
-
- [Pattern: ["http://[:address\]/"\] Inputs: ["http://[::1\]/"\]]
- expected: FAIL
-
- [Pattern: ["http://[\\\\:\\\\:AB\\\\::num\]/"\] Inputs: ["http://[::ab:1\]/"\]]
- expected: FAIL
-
- [Pattern: [{"hostname":"[\\\\:\\\\:AB\\\\::num\]"}\] Inputs: [{"hostname":"[::ab:1\]"}\]]
- expected: FAIL
-
- [Pattern: [{"hostname":"{[\\\\:\\\\:ab\\\\::num\]}"}\] Inputs: [{"hostname":"[::ab:1\]"}\]]
- expected: FAIL
-
- [Pattern: [{"hostname":"{[\\\\:\\\\::num\\\\:1\]}"}\] Inputs: [{"hostname":"[::ab:1\]"}\]]
- expected: FAIL
-
- [Pattern: [{"hostname":"[*\\\\:1\]"}\] Inputs: [{"hostname":"[::ab:1\]"}\]]
- expected: FAIL
-
- [Pattern: ["data\\\\:text/javascript,let x = 100/:tens?5;"\] Inputs: ["data:text/javascript,let x = 100/5;"\]]
- expected: FAIL
-
- [Pattern: [{"pathname":":name*"}\] Inputs: [{"pathname":"foobar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":":name+"}\] Inputs: [{"pathname":"foobar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":":name"}\] Inputs: [{"pathname":"foobar"}\]]
- expected: FAIL
-
- [Pattern: [{"protocol":":name*"}\] Inputs: [{"protocol":"foobar"}\]]
- expected: FAIL
-
- [Pattern: [{"protocol":":name+"}\] Inputs: [{"protocol":"foobar"}\]]
- expected: FAIL
-
- [Pattern: [{"protocol":":name"}\] Inputs: [{"protocol":"foobar"}\]]
- expected: FAIL
-
[Pattern: [{"hostname":"bad#hostname"}\] Inputs: [{"hostname":"bad"}\]]
expected: FAIL
@@ -773,147 +20,9 @@
[Pattern: [{"hostname":"bad\\thostname"}\] Inputs: [{"hostname":"badhostname"}\]]
expected: FAIL
- [Pattern: [{}\] Inputs: ["https://example.com/"\]]
- expected: FAIL
-
- [Pattern: [\] Inputs: ["https://example.com/"\]]
- expected: FAIL
-
- [Pattern: [\] Inputs: [{}\]]
- expected: FAIL
-
- [Pattern: [\] Inputs: [\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"(foo)(.*)"}\] Inputs: [{"pathname":"foobarbaz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"{(foo)bar}(.*)"}\] Inputs: [{"pathname":"foobarbaz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"(foo)?(.*)"}\] Inputs: [{"pathname":"foobarbaz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"{:foo}(.*)"}\] Inputs: [{"pathname":"foobarbaz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"{:foo}(barbaz)"}\] Inputs: [{"pathname":"foobarbaz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"{:foo}{(.*)}"}\] Inputs: [{"pathname":"foobarbaz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"{:foo}{(.*)bar}"}\] Inputs: [{"pathname":"foobarbaz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"{:foo}{bar(.*)}"}\] Inputs: [{"pathname":"foobarbaz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"{:foo}:bar(.*)"}\] Inputs: [{"pathname":"foobarbaz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"{:foo}?(.*)"}\] Inputs: [{"pathname":"foobarbaz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"{:foo\\\\bar}"}\] Inputs: [{"pathname":"foobar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"{:foo\\\\.bar}"}\] Inputs: [{"pathname":"foo.bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"{:foo(foo)bar}"}\] Inputs: [{"pathname":"foobar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"{:foo}bar"}\] Inputs: [{"pathname":"foobar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":":foo\\\\bar"}\] Inputs: [{"pathname":"foobar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":":foo{}(.*)"}\] Inputs: [{"pathname":"foobar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":":foo{}bar"}\] Inputs: [{"pathname":"foobar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":":foo{}?bar"}\] Inputs: [{"pathname":"foobar"}\]]
- expected: FAIL
-
[Pattern: [{"pathname":"*{}**?"}\] Inputs: [{"pathname":"foobar"}\]]
expected: FAIL
- [Pattern: [{"pathname":":foo(baz)(.*)"}\] Inputs: [{"pathname":"bazbar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":":foo(baz)bar"}\] Inputs: [{"pathname":"bazbar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"*/*"}\] Inputs: [{"pathname":"foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"*\\\\/*"}\] Inputs: [{"pathname":"foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"*/{*}"}\] Inputs: [{"pathname":"foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"*//*"}\] Inputs: [{"pathname":"foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/:foo."}\] Inputs: [{"pathname":"/bar."}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/:foo.."}\] Inputs: [{"pathname":"/bar.."}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"./foo"}\] Inputs: [{"pathname":"./foo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"../foo"}\] Inputs: [{"pathname":"../foo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":":foo./"}\] Inputs: [{"pathname":"bar./"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":":foo../"}\] Inputs: [{"pathname":"bar../"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/:foo\\\\bar"}\] Inputs: [{"pathname":"/bazbar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar"},{"ignoreCase":true}\] Inputs: [{"pathname":"/FOO/BAR"}\]]
- expected: FAIL
-
- [Pattern: [{"ignoreCase":true}\] Inputs: [{"pathname":"/FOO/BAR"}\]]
- expected: FAIL
-
- [Pattern: ["https://example.com:8080/foo?bar#baz",{"ignoreCase":true}\] Inputs: [{"pathname":"/FOO","search":"BAR","hash":"BAZ","baseURL":"https://example.com:8080"}\]]
- expected: FAIL
-
- [Pattern: ["/foo?bar#baz","https://example.com:8080",{"ignoreCase":true}\] Inputs: [{"pathname":"/FOO","search":"BAR","hash":"BAZ","baseURL":"https://example.com:8080"}\]]
- expected: FAIL
-
- [Pattern: [{"search":"foo","baseURL":"https://example.com/a/+/b"}\] Inputs: [{"search":"foo","baseURL":"https://example.com/a/+/b"}\]]
- expected: FAIL
-
- [Pattern: [{"hash":"foo","baseURL":"https://example.com/?q=*&v=?&hmm={}&umm=()"}\] Inputs: [{"hash":"foo","baseURL":"https://example.com/?q=*&v=?&hmm={}&umm=()"}\]]
- expected: FAIL
-
- [Pattern: ["#foo","https://example.com/?q=*&v=?&hmm={}&umm=()"\] Inputs: ["https://example.com/?q=*&v=?&hmm={}&umm=()#foo"\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/([[a-z\]--a\])"}\] Inputs: [{"pathname":"/a"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/([[a-z\]--a\])"}\] Inputs: [{"pathname":"/z"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/([\\\\d&&[0-1\]\])"}\] Inputs: [{"pathname":"/0"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/([\\\\d&&[0-1\]\])"}\] Inputs: [{"pathname":"/3"}\]]
- expected: FAIL
-
[Pattern: [{"port":"80"}\] Inputs: [{"port":"8\\t0"}\]]
expected: FAIL
@@ -932,770 +41,14 @@
[Pattern: [{"hostname":"bad\\\\:hostname"}\] Inputs: undefined]
expected: FAIL
- [Pattern: [{"pathname":"/foo","baseURL":""}\] Inputs: undefined]
- expected: FAIL
-
[urlpattern.any.sharedworker.html]
expected: ERROR
[urlpattern.any.html]
- [Pattern: [{"pathname":"/foo/bar"}\] Inputs: [{"pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar"}\] Inputs: [{"pathname":"/foo/ba"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar"}\] Inputs: [{"pathname":"/foo/bar/"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar"}\] Inputs: [{"pathname":"/foo/bar/baz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar"}\] Inputs: ["https://example.com/foo/bar"\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar"}\] Inputs: ["https://example.com/foo/bar/baz"\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar"}\] Inputs: [{"hostname":"example.com","pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar"}\] Inputs: [{"hostname":"example.com","pathname":"/foo/bar/baz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar"}\] Inputs: [{"pathname":"/foo/bar","baseURL":"https://example.com"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar"}\] Inputs: [{"pathname":"/foo/bar/baz","baseURL":"https://example.com"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar","baseURL":"https://example.com?query#hash"}\] Inputs: [{"pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar","baseURL":"https://example.com?query#hash"}\] Inputs: [{"hostname":"example.com","pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar","baseURL":"https://example.com?query#hash"}\] Inputs: [{"protocol":"https","hostname":"example.com","pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar","baseURL":"https://example.com"}\] Inputs: [{"protocol":"https","hostname":"example.com","pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar","baseURL":"https://example.com"}\] Inputs: [{"protocol":"https","hostname":"example.com","pathname":"/foo/bar/baz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar","baseURL":"https://example.com?query#hash"}\] Inputs: [{"protocol":"https","hostname":"example.com","pathname":"/foo/bar","search":"otherquery","hash":"otherhash"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar","baseURL":"https://example.com"}\] Inputs: [{"protocol":"https","hostname":"example.com","pathname":"/foo/bar","search":"otherquery","hash":"otherhash"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar","baseURL":"https://example.com?otherquery#otherhash"}\] Inputs: [{"protocol":"https","hostname":"example.com","pathname":"/foo/bar","search":"otherquery","hash":"otherhash"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar","baseURL":"https://example.com?query#hash"}\] Inputs: ["https://example.com/foo/bar"\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar","baseURL":"https://example.com?query#hash"}\] Inputs: ["https://example.com/foo/bar?otherquery#otherhash"\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar","baseURL":"https://example.com?query#hash"}\] Inputs: ["https://example.com/foo/bar?query#hash"\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar","baseURL":"https://example.com?query#hash"}\] Inputs: ["https://example.com/foo/bar/baz"\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar","baseURL":"https://example.com?query#hash"}\] Inputs: ["https://other.com/foo/bar"\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar","baseURL":"https://example.com?query#hash"}\] Inputs: ["http://other.com/foo/bar"\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar","baseURL":"https://example.com?query#hash"}\] Inputs: [{"pathname":"/foo/bar","baseURL":"https://example.com"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar","baseURL":"https://example.com?query#hash"}\] Inputs: [{"pathname":"/foo/bar","baseURL":"https://example.com?query#hash"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar","baseURL":"https://example.com?query#hash"}\] Inputs: [{"pathname":"/foo/bar/baz","baseURL":"https://example.com"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar","baseURL":"https://example.com?query#hash"}\] Inputs: [{"pathname":"/foo/bar","baseURL":"https://other.com"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar","baseURL":"https://example.com?query#hash"}\] Inputs: [{"pathname":"/foo/bar","baseURL":"http://example.com"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/:bar"}\] Inputs: [{"pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/([^\\\\/\]+?)"}\] Inputs: [{"pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/:bar"}\] Inputs: [{"pathname":"/foo/index.html"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/:bar"}\] Inputs: [{"pathname":"/foo/bar/"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/:bar"}\] Inputs: [{"pathname":"/foo/"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/(.*)"}\] Inputs: [{"pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/*"}\] Inputs: [{"pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/(.*)"}\] Inputs: [{"pathname":"/foo/bar/baz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/*"}\] Inputs: [{"pathname":"/foo/bar/baz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/(.*)"}\] Inputs: [{"pathname":"/foo/"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/*"}\] Inputs: [{"pathname":"/foo/"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/(.*)"}\] Inputs: [{"pathname":"/foo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/*"}\] Inputs: [{"pathname":"/foo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/:bar(.*)"}\] Inputs: [{"pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/:bar(.*)"}\] Inputs: [{"pathname":"/foo/bar/baz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/:bar(.*)"}\] Inputs: [{"pathname":"/foo/"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/:bar(.*)"}\] Inputs: [{"pathname":"/foo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/:bar?"}\] Inputs: [{"pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/:bar?"}\] Inputs: [{"pathname":"/foo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/:bar?"}\] Inputs: [{"pathname":"/foo/"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/:bar?"}\] Inputs: [{"pathname":"/foobar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/:bar?"}\] Inputs: [{"pathname":"/foo/bar/baz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/:bar+"}\] Inputs: [{"pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/:bar+"}\] Inputs: [{"pathname":"/foo/bar/baz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/:bar+"}\] Inputs: [{"pathname":"/foo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/:bar+"}\] Inputs: [{"pathname":"/foo/"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/:bar+"}\] Inputs: [{"pathname":"/foobar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/:bar*"}\] Inputs: [{"pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/:bar*"}\] Inputs: [{"pathname":"/foo/bar/baz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/:bar*"}\] Inputs: [{"pathname":"/foo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/:bar*"}\] Inputs: [{"pathname":"/foo/"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/:bar*"}\] Inputs: [{"pathname":"/foobar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/(.*)?"}\] Inputs: [{"pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/*?"}\] Inputs: [{"pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/(.*)?"}\] Inputs: [{"pathname":"/foo/bar/baz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/*?"}\] Inputs: [{"pathname":"/foo/bar/baz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/(.*)?"}\] Inputs: [{"pathname":"/foo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/*?"}\] Inputs: [{"pathname":"/foo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/(.*)?"}\] Inputs: [{"pathname":"/foo/"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/*?"}\] Inputs: [{"pathname":"/foo/"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/(.*)?"}\] Inputs: [{"pathname":"/foobar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/*?"}\] Inputs: [{"pathname":"/foobar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/(.*)?"}\] Inputs: [{"pathname":"/fo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/*?"}\] Inputs: [{"pathname":"/fo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/(.*)+"}\] Inputs: [{"pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/*+"}\] Inputs: [{"pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/(.*)+"}\] Inputs: [{"pathname":"/foo/bar/baz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/*+"}\] Inputs: [{"pathname":"/foo/bar/baz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/(.*)+"}\] Inputs: [{"pathname":"/foo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/*+"}\] Inputs: [{"pathname":"/foo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/(.*)+"}\] Inputs: [{"pathname":"/foo/"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/*+"}\] Inputs: [{"pathname":"/foo/"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/(.*)+"}\] Inputs: [{"pathname":"/foobar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/*+"}\] Inputs: [{"pathname":"/foobar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/(.*)+"}\] Inputs: [{"pathname":"/fo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/*+"}\] Inputs: [{"pathname":"/fo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/(.*)*"}\] Inputs: [{"pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/**"}\] Inputs: [{"pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/(.*)*"}\] Inputs: [{"pathname":"/foo/bar/baz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/**"}\] Inputs: [{"pathname":"/foo/bar/baz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/(.*)*"}\] Inputs: [{"pathname":"/foo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/**"}\] Inputs: [{"pathname":"/foo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/(.*)*"}\] Inputs: [{"pathname":"/foo/"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/**"}\] Inputs: [{"pathname":"/foo/"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/(.*)*"}\] Inputs: [{"pathname":"/foobar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/**"}\] Inputs: [{"pathname":"/foobar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/(.*)*"}\] Inputs: [{"pathname":"/fo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/**"}\] Inputs: [{"pathname":"/fo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo{/bar}"}\] Inputs: [{"pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo{/bar}"}\] Inputs: [{"pathname":"/foo/bar/baz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo{/bar}"}\] Inputs: [{"pathname":"/foo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo{/bar}"}\] Inputs: [{"pathname":"/foo/"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo{/bar}?"}\] Inputs: [{"pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo{/bar}?"}\] Inputs: [{"pathname":"/foo/bar/baz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo{/bar}?"}\] Inputs: [{"pathname":"/foo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo{/bar}?"}\] Inputs: [{"pathname":"/foo/"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo{/bar}+"}\] Inputs: [{"pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo{/bar}+"}\] Inputs: [{"pathname":"/foo/bar/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo{/bar}+"}\] Inputs: [{"pathname":"/foo/bar/baz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo{/bar}+"}\] Inputs: [{"pathname":"/foo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo{/bar}+"}\] Inputs: [{"pathname":"/foo/"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo{/bar}*"}\] Inputs: [{"pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo{/bar}*"}\] Inputs: [{"pathname":"/foo/bar/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo{/bar}*"}\] Inputs: [{"pathname":"/foo/bar/baz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo{/bar}*"}\] Inputs: [{"pathname":"/foo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo{/bar}*"}\] Inputs: [{"pathname":"/foo/"}\]]
- expected: FAIL
-
- [Pattern: [{"protocol":":café"}\] Inputs: [{"protocol":"foo"}\]]
- expected: FAIL
-
- [Pattern: [{"username":":café"}\] Inputs: [{"username":"foo"}\]]
- expected: FAIL
-
- [Pattern: [{"password":":café"}\] Inputs: [{"password":"foo"}\]]
- expected: FAIL
-
- [Pattern: [{"hostname":":café"}\] Inputs: [{"hostname":"foo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/:café"}\] Inputs: [{"pathname":"/foo"}\]]
- expected: FAIL
-
- [Pattern: [{"search":":café"}\] Inputs: [{"search":"foo"}\]]
- expected: FAIL
-
- [Pattern: [{"hash":":café"}\] Inputs: [{"hash":"foo"}\]]
- expected: FAIL
-
- [Pattern: [{"protocol":":℘"}\] Inputs: [{"protocol":"foo"}\]]
- expected: FAIL
-
- [Pattern: [{"username":":℘"}\] Inputs: [{"username":"foo"}\]]
- expected: FAIL
-
- [Pattern: [{"password":":℘"}\] Inputs: [{"password":"foo"}\]]
- expected: FAIL
-
- [Pattern: [{"hostname":":℘"}\] Inputs: [{"hostname":"foo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/:℘"}\] Inputs: [{"pathname":"/foo"}\]]
- expected: FAIL
-
- [Pattern: [{"search":":℘"}\] Inputs: [{"search":"foo"}\]]
- expected: FAIL
-
- [Pattern: [{"hash":":℘"}\] Inputs: [{"hash":"foo"}\]]
- expected: FAIL
-
- [Pattern: [{"protocol":":㐀"}\] Inputs: [{"protocol":"foo"}\]]
- expected: FAIL
-
- [Pattern: [{"username":":㐀"}\] Inputs: [{"username":"foo"}\]]
- expected: FAIL
-
- [Pattern: [{"password":":㐀"}\] Inputs: [{"password":"foo"}\]]
- expected: FAIL
-
- [Pattern: [{"hostname":":㐀"}\] Inputs: [{"hostname":"foo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/:㐀"}\] Inputs: [{"pathname":"/foo"}\]]
- expected: FAIL
-
- [Pattern: [{"search":":㐀"}\] Inputs: [{"search":"foo"}\]]
- expected: FAIL
-
- [Pattern: [{"hash":":㐀"}\] Inputs: [{"hash":"foo"}\]]
- expected: FAIL
-
- [Pattern: [{"protocol":"(.*)"}\] Inputs: [{"protocol":"café"}\]]
- expected: FAIL
-
- [Pattern: [{"protocol":"(.*)"}\] Inputs: [{"protocol":"cafe"}\]]
- expected: FAIL
-
- [Pattern: [{"protocol":"foo-bar"}\] Inputs: [{"protocol":"foo-bar"}\]]
- expected: FAIL
-
- [Pattern: [{"username":"caf%C3%A9"}\] Inputs: [{"username":"café"}\]]
- expected: FAIL
-
- [Pattern: [{"username":"café"}\] Inputs: [{"username":"café"}\]]
- expected: FAIL
-
- [Pattern: [{"username":"caf%c3%a9"}\] Inputs: [{"username":"café"}\]]
- expected: FAIL
-
- [Pattern: [{"password":"caf%C3%A9"}\] Inputs: [{"password":"café"}\]]
- expected: FAIL
-
- [Pattern: [{"password":"café"}\] Inputs: [{"password":"café"}\]]
- expected: FAIL
-
- [Pattern: [{"password":"caf%c3%a9"}\] Inputs: [{"password":"café"}\]]
- expected: FAIL
-
- [Pattern: [{"hostname":"xn--caf-dma.com"}\] Inputs: [{"hostname":"café.com"}\]]
- expected: FAIL
-
- [Pattern: [{"hostname":"café.com"}\] Inputs: [{"hostname":"café.com"}\]]
- expected: FAIL
-
- [Pattern: ["http://🚲.com/"\] Inputs: ["http://🚲.com/"\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"\\ud83d \\udeb2"}\] Inputs: [\]]
- expected: FAIL
-
- [Pattern: [{"pathname":":a󠄀b"}\] Inputs: [\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"test/:a𐑐b"}\] Inputs: [{"pathname":"test/foo"}\]]
- expected: FAIL
-
- [Pattern: [{"port":""}\] Inputs: [{"protocol":"http","port":"80"}\]]
- expected: FAIL
-
- [Pattern: [{"protocol":"http","port":"80"}\] Inputs: [{"protocol":"http","port":"80"}\]]
- expected: FAIL
-
- [Pattern: [{"protocol":"http","port":"80{20}?"}\] Inputs: [{"protocol":"http","port":"80"}\]]
- expected: FAIL
-
[Pattern: [{"protocol":"http","port":"80 "}\] Inputs: [{"protocol":"http","port":"80"}\]]
expected: FAIL
- [Pattern: [{"port":"80"}\] Inputs: [{"protocol":"http","port":"80"}\]]
- expected: FAIL
-
- [Pattern: [{"protocol":"http{s}?","port":"80"}\] Inputs: [{"protocol":"http","port":"80"}\]]
- expected: FAIL
-
- [Pattern: [{"port":"80"}\] Inputs: [{"port":"80"}\]]
- expected: FAIL
-
- [Pattern: [{"port":"(.*)"}\] Inputs: [{"port":"invalid80"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar"}\] Inputs: [{"pathname":"/foo/./bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/baz"}\] Inputs: [{"pathname":"/foo/bar/../baz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/caf%C3%A9"}\] Inputs: [{"pathname":"/café"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/café"}\] Inputs: [{"pathname":"/café"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/caf%c3%a9"}\] Inputs: [{"pathname":"/café"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar"}\] Inputs: [{"pathname":"foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar"}\] Inputs: [{"pathname":"foo/bar","baseURL":"https://example.com"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/../bar"}\] Inputs: [{"pathname":"/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"./foo/bar","baseURL":"https://example.com"}\] Inputs: [{"pathname":"foo/bar","baseURL":"https://example.com"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"","baseURL":"https://example.com"}\] Inputs: [{"pathname":"/","baseURL":"https://example.com"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"{/bar}","baseURL":"https://example.com/foo/"}\] Inputs: [{"pathname":"./bar","baseURL":"https://example.com/foo/"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"\\\\/bar","baseURL":"https://example.com/foo/"}\] Inputs: [{"pathname":"./bar","baseURL":"https://example.com/foo/"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"b","baseURL":"https://example.com/foo/"}\] Inputs: [{"pathname":"./b","baseURL":"https://example.com/foo/"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"foo/bar"}\] Inputs: ["https://example.com/foo/bar"\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"foo/bar","baseURL":"https://example.com"}\] Inputs: ["https://example.com/foo/bar"\]]
- expected: FAIL
-
- [Pattern: [{"pathname":":name.html","baseURL":"https://example.com"}\] Inputs: ["https://example.com/foo.html"\]]
- expected: FAIL
-
- [Pattern: [{"search":"q=caf%C3%A9"}\] Inputs: [{"search":"q=café"}\]]
- expected: FAIL
-
- [Pattern: [{"search":"q=café"}\] Inputs: [{"search":"q=café"}\]]
- expected: FAIL
-
- [Pattern: [{"search":"q=caf%c3%a9"}\] Inputs: [{"search":"q=café"}\]]
- expected: FAIL
-
- [Pattern: [{"hash":"caf%C3%A9"}\] Inputs: [{"hash":"café"}\]]
- expected: FAIL
-
- [Pattern: [{"hash":"café"}\] Inputs: [{"hash":"café"}\]]
- expected: FAIL
-
- [Pattern: [{"hash":"caf%c3%a9"}\] Inputs: [{"hash":"café"}\]]
- expected: FAIL
-
- [Pattern: [{"protocol":"about","pathname":"(blank|sourcedoc)"}\] Inputs: ["about:blank"\]]
- expected: FAIL
-
- [Pattern: [{"protocol":"data","pathname":":number([0-9\]+)"}\] Inputs: ["data:8675309"\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo!"}\] Inputs: [{"pathname":"/foo!"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo\\\\:"}\] Inputs: [{"pathname":"/foo:"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo\\\\{"}\] Inputs: [{"pathname":"/foo{"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo\\\\("}\] Inputs: [{"pathname":"/foo("}\]]
- expected: FAIL
-
- [Pattern: [{"protocol":"javascript","pathname":"var x = 1;"}\] Inputs: [{"protocol":"javascript","pathname":"var x = 1;"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"var x = 1;"}\] Inputs: [{"protocol":"javascript","pathname":"var x = 1;"}\]]
- expected: FAIL
-
- [Pattern: [{"protocol":"javascript","pathname":"var x = 1;"}\] Inputs: [{"baseURL":"javascript:var x = 1;"}\]]
- expected: FAIL
-
- [Pattern: [{"protocol":"(data|javascript)","pathname":"var x = 1;"}\] Inputs: [{"protocol":"javascript","pathname":"var x = 1;"}\]]
- expected: FAIL
-
- [Pattern: [{"protocol":"(https|javascript)","pathname":"var x = 1;"}\] Inputs: [{"protocol":"javascript","pathname":"var x = 1;"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"var x = 1;"}\] Inputs: [{"pathname":"var x = 1;"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar"}\] Inputs: ["./foo/bar","https://example.com"\]]
- expected: FAIL
-
- [Pattern: ["https://example.com:8080/foo?bar#baz"\] Inputs: [{"pathname":"/foo","search":"bar","hash":"baz","baseURL":"https://example.com:8080"}\]]
- expected: FAIL
-
- [Pattern: ["/foo?bar#baz","https://example.com:8080"\] Inputs: [{"pathname":"/foo","search":"bar","hash":"baz","baseURL":"https://example.com:8080"}\]]
- expected: FAIL
-
- [Pattern: ["http{s}?://{*.}?example.com/:product/:endpoint"\] Inputs: ["https://sub.example.com/foo/bar"\]]
- expected: FAIL
-
- [Pattern: ["https://example.com?foo"\] Inputs: ["https://example.com/?foo"\]]
- expected: FAIL
-
- [Pattern: ["https://example.com#foo"\] Inputs: ["https://example.com/#foo"\]]
- expected: FAIL
-
- [Pattern: ["https://example.com:8080?foo"\] Inputs: ["https://example.com:8080/?foo"\]]
- expected: FAIL
-
- [Pattern: ["https://example.com:8080#foo"\] Inputs: ["https://example.com:8080/#foo"\]]
- expected: FAIL
-
- [Pattern: ["https://example.com/?foo"\] Inputs: ["https://example.com/?foo"\]]
- expected: FAIL
-
- [Pattern: ["https://example.com/#foo"\] Inputs: ["https://example.com/#foo"\]]
- expected: FAIL
-
- [Pattern: ["https://example.com/*?foo"\] Inputs: ["https://example.com/?foo"\]]
- expected: FAIL
-
- [Pattern: ["https://example.com/*\\\\?foo"\] Inputs: ["https://example.com/?foo"\]]
- expected: FAIL
-
- [Pattern: ["https://example.com/:name?foo"\] Inputs: ["https://example.com/bar?foo"\]]
- expected: FAIL
-
- [Pattern: ["https://example.com/:name\\\\?foo"\] Inputs: ["https://example.com/bar?foo"\]]
- expected: FAIL
-
- [Pattern: ["https://example.com/(bar)?foo"\] Inputs: ["https://example.com/bar?foo"\]]
- expected: FAIL
-
- [Pattern: ["https://example.com/(bar)\\\\?foo"\] Inputs: ["https://example.com/bar?foo"\]]
- expected: FAIL
-
- [Pattern: ["https://example.com/{bar}?foo"\] Inputs: ["https://example.com/bar?foo"\]]
- expected: FAIL
-
- [Pattern: ["https://example.com/{bar}\\\\?foo"\] Inputs: ["https://example.com/bar?foo"\]]
- expected: FAIL
-
- [Pattern: ["https://example.com/"\] Inputs: ["https://example.com:8080/"\]]
- expected: FAIL
-
- [Pattern: ["data\\\\:foobar"\] Inputs: ["data:foobar"\]]
- expected: FAIL
-
- [Pattern: ["https://{sub.}?example.com/foo"\] Inputs: ["https://example.com/foo"\]]
- expected: FAIL
-
- [Pattern: ["https://(sub.)?example.com/foo"\] Inputs: ["https://example.com/foo"\]]
- expected: FAIL
-
- [Pattern: ["https://(sub.)?example(.com/)foo"\] Inputs: ["https://example.com/foo"\]]
- expected: FAIL
-
- [Pattern: ["https://(sub(?:.))?example.com/foo"\] Inputs: ["https://example.com/foo"\]]
- expected: FAIL
-
- [Pattern: ["file:///foo/bar"\] Inputs: ["file:///foo/bar"\]]
- expected: FAIL
-
- [Pattern: ["data:"\] Inputs: ["data:"\]]
- expected: FAIL
-
- [Pattern: ["foo://bar"\] Inputs: ["foo://bad_url_browser_interop"\]]
- expected: FAIL
-
- [Pattern: ["https://example.com/foo?bar#baz"\] Inputs: [{"protocol":"https:","search":"?bar","hash":"#baz","baseURL":"http://example.com/foo"}\]]
- expected: FAIL
-
- [Pattern: [{"protocol":"http{s}?:","search":"?bar","hash":"#baz"}\] Inputs: ["http://example.com/foo?bar#baz"\]]
- expected: FAIL
-
- [Pattern: ["?bar#baz","https://example.com/foo"\] Inputs: ["?bar#baz","https://example.com/foo"\]]
- expected: FAIL
-
- [Pattern: ["?bar","https://example.com/foo#baz"\] Inputs: ["?bar","https://example.com/foo#snafu"\]]
- expected: FAIL
-
- [Pattern: ["#baz","https://example.com/foo?bar"\] Inputs: ["#baz","https://example.com/foo?bar"\]]
- expected: FAIL
-
- [Pattern: ["#baz","https://example.com/foo"\] Inputs: ["#baz","https://example.com/foo"\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"*"}\] Inputs: ["foo","data:data-urls-cannot-be-base-urls"\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"*"}\] Inputs: ["foo","not|a|valid|url"\]]
- expected: FAIL
-
- [Pattern: ["https://foo\\\\:bar@example.com"\] Inputs: ["https://foo:bar@example.com"\]]
- expected: FAIL
-
- [Pattern: ["https://foo@example.com"\] Inputs: ["https://foo@example.com"\]]
- expected: FAIL
-
- [Pattern: ["https://\\\\:bar@example.com"\] Inputs: ["https://:bar@example.com"\]]
- expected: FAIL
-
- [Pattern: ["https://:user::pass@example.com"\] Inputs: ["https://foo:bar@example.com"\]]
- expected: FAIL
-
- [Pattern: ["https\\\\:foo\\\\:bar@example.com"\] Inputs: ["https:foo:bar@example.com"\]]
- expected: FAIL
-
- [Pattern: ["data\\\\:foo\\\\:bar@example.com"\] Inputs: ["data:foo:bar@example.com"\]]
- expected: FAIL
-
- [Pattern: ["https://foo{\\\\:}bar@example.com"\] Inputs: ["https://foo:bar@example.com"\]]
- expected: FAIL
-
- [Pattern: ["data{\\\\:}channel.html","https://example.com"\] Inputs: ["https://example.com/data:channel.html"\]]
- expected: FAIL
-
- [Pattern: ["http://[\\\\:\\\\:1\]/"\] Inputs: ["http://[::1\]/"\]]
- expected: FAIL
-
- [Pattern: ["http://[\\\\:\\\\:1\]:8080/"\] Inputs: ["http://[::1\]:8080/"\]]
- expected: FAIL
-
- [Pattern: ["http://[\\\\:\\\\:a\]/"\] Inputs: ["http://[::a\]/"\]]
- expected: FAIL
-
- [Pattern: ["http://[:address\]/"\] Inputs: ["http://[::1\]/"\]]
- expected: FAIL
-
- [Pattern: ["http://[\\\\:\\\\:AB\\\\::num\]/"\] Inputs: ["http://[::ab:1\]/"\]]
- expected: FAIL
-
- [Pattern: [{"hostname":"[\\\\:\\\\:AB\\\\::num\]"}\] Inputs: [{"hostname":"[::ab:1\]"}\]]
- expected: FAIL
-
- [Pattern: [{"hostname":"{[\\\\:\\\\:ab\\\\::num\]}"}\] Inputs: [{"hostname":"[::ab:1\]"}\]]
- expected: FAIL
-
- [Pattern: [{"hostname":"{[\\\\:\\\\::num\\\\:1\]}"}\] Inputs: [{"hostname":"[::ab:1\]"}\]]
- expected: FAIL
-
- [Pattern: [{"hostname":"[*\\\\:1\]"}\] Inputs: [{"hostname":"[::ab:1\]"}\]]
- expected: FAIL
-
- [Pattern: ["data\\\\:text/javascript,let x = 100/:tens?5;"\] Inputs: ["data:text/javascript,let x = 100/5;"\]]
- expected: FAIL
-
- [Pattern: [{"pathname":":name*"}\] Inputs: [{"pathname":"foobar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":":name+"}\] Inputs: [{"pathname":"foobar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":":name"}\] Inputs: [{"pathname":"foobar"}\]]
- expected: FAIL
-
- [Pattern: [{"protocol":":name*"}\] Inputs: [{"protocol":"foobar"}\]]
- expected: FAIL
-
- [Pattern: [{"protocol":":name+"}\] Inputs: [{"protocol":"foobar"}\]]
- expected: FAIL
-
- [Pattern: [{"protocol":":name"}\] Inputs: [{"protocol":"foobar"}\]]
- expected: FAIL
-
[Pattern: [{"hostname":"bad#hostname"}\] Inputs: [{"hostname":"bad"}\]]
expected: FAIL
@@ -1714,147 +67,9 @@
[Pattern: [{"hostname":"bad\\thostname"}\] Inputs: [{"hostname":"badhostname"}\]]
expected: FAIL
- [Pattern: [{}\] Inputs: ["https://example.com/"\]]
- expected: FAIL
-
- [Pattern: [\] Inputs: ["https://example.com/"\]]
- expected: FAIL
-
- [Pattern: [\] Inputs: [{}\]]
- expected: FAIL
-
- [Pattern: [\] Inputs: [\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"(foo)(.*)"}\] Inputs: [{"pathname":"foobarbaz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"{(foo)bar}(.*)"}\] Inputs: [{"pathname":"foobarbaz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"(foo)?(.*)"}\] Inputs: [{"pathname":"foobarbaz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"{:foo}(.*)"}\] Inputs: [{"pathname":"foobarbaz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"{:foo}(barbaz)"}\] Inputs: [{"pathname":"foobarbaz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"{:foo}{(.*)}"}\] Inputs: [{"pathname":"foobarbaz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"{:foo}{(.*)bar}"}\] Inputs: [{"pathname":"foobarbaz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"{:foo}{bar(.*)}"}\] Inputs: [{"pathname":"foobarbaz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"{:foo}:bar(.*)"}\] Inputs: [{"pathname":"foobarbaz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"{:foo}?(.*)"}\] Inputs: [{"pathname":"foobarbaz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"{:foo\\\\bar}"}\] Inputs: [{"pathname":"foobar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"{:foo\\\\.bar}"}\] Inputs: [{"pathname":"foo.bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"{:foo(foo)bar}"}\] Inputs: [{"pathname":"foobar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"{:foo}bar"}\] Inputs: [{"pathname":"foobar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":":foo\\\\bar"}\] Inputs: [{"pathname":"foobar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":":foo{}(.*)"}\] Inputs: [{"pathname":"foobar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":":foo{}bar"}\] Inputs: [{"pathname":"foobar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":":foo{}?bar"}\] Inputs: [{"pathname":"foobar"}\]]
- expected: FAIL
-
[Pattern: [{"pathname":"*{}**?"}\] Inputs: [{"pathname":"foobar"}\]]
expected: FAIL
- [Pattern: [{"pathname":":foo(baz)(.*)"}\] Inputs: [{"pathname":"bazbar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":":foo(baz)bar"}\] Inputs: [{"pathname":"bazbar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"*/*"}\] Inputs: [{"pathname":"foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"*\\\\/*"}\] Inputs: [{"pathname":"foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"*/{*}"}\] Inputs: [{"pathname":"foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"*//*"}\] Inputs: [{"pathname":"foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/:foo."}\] Inputs: [{"pathname":"/bar."}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/:foo.."}\] Inputs: [{"pathname":"/bar.."}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"./foo"}\] Inputs: [{"pathname":"./foo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"../foo"}\] Inputs: [{"pathname":"../foo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":":foo./"}\] Inputs: [{"pathname":"bar./"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":":foo../"}\] Inputs: [{"pathname":"bar../"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/:foo\\\\bar"}\] Inputs: [{"pathname":"/bazbar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar"},{"ignoreCase":true}\] Inputs: [{"pathname":"/FOO/BAR"}\]]
- expected: FAIL
-
- [Pattern: [{"ignoreCase":true}\] Inputs: [{"pathname":"/FOO/BAR"}\]]
- expected: FAIL
-
- [Pattern: ["https://example.com:8080/foo?bar#baz",{"ignoreCase":true}\] Inputs: [{"pathname":"/FOO","search":"BAR","hash":"BAZ","baseURL":"https://example.com:8080"}\]]
- expected: FAIL
-
- [Pattern: ["/foo?bar#baz","https://example.com:8080",{"ignoreCase":true}\] Inputs: [{"pathname":"/FOO","search":"BAR","hash":"BAZ","baseURL":"https://example.com:8080"}\]]
- expected: FAIL
-
- [Pattern: [{"search":"foo","baseURL":"https://example.com/a/+/b"}\] Inputs: [{"search":"foo","baseURL":"https://example.com/a/+/b"}\]]
- expected: FAIL
-
- [Pattern: [{"hash":"foo","baseURL":"https://example.com/?q=*&v=?&hmm={}&umm=()"}\] Inputs: [{"hash":"foo","baseURL":"https://example.com/?q=*&v=?&hmm={}&umm=()"}\]]
- expected: FAIL
-
- [Pattern: ["#foo","https://example.com/?q=*&v=?&hmm={}&umm=()"\] Inputs: ["https://example.com/?q=*&v=?&hmm={}&umm=()#foo"\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/([[a-z\]--a\])"}\] Inputs: [{"pathname":"/a"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/([[a-z\]--a\])"}\] Inputs: [{"pathname":"/z"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/([\\\\d&&[0-1\]\])"}\] Inputs: [{"pathname":"/0"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/([\\\\d&&[0-1\]\])"}\] Inputs: [{"pathname":"/3"}\]]
- expected: FAIL
-
[Pattern: [{"port":"80"}\] Inputs: [{"port":"8\\t0"}\]]
expected: FAIL
@@ -1873,9 +88,6 @@
[Pattern: [{"hostname":"bad\\\\:hostname"}\] Inputs: undefined]
expected: FAIL
- [Pattern: [{"pathname":"/foo","baseURL":""}\] Inputs: undefined]
- expected: FAIL
-
[urlpattern.any.serviceworker.html]
expected: ERROR
diff --git a/tests/wpt/meta/urlpattern/urlpattern.https.any.js.ini b/tests/wpt/meta/urlpattern/urlpattern.https.any.js.ini
index f1b0add7805..b94748d6714 100644
--- a/tests/wpt/meta/urlpattern/urlpattern.https.any.js.ini
+++ b/tests/wpt/meta/urlpattern/urlpattern.https.any.js.ini
@@ -2,762 +2,9 @@
expected: ERROR
[urlpattern.https.any.html]
- [Pattern: [{"pathname":"/foo/bar"}\] Inputs: [{"pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar"}\] Inputs: [{"pathname":"/foo/ba"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar"}\] Inputs: [{"pathname":"/foo/bar/"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar"}\] Inputs: [{"pathname":"/foo/bar/baz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar"}\] Inputs: ["https://example.com/foo/bar"\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar"}\] Inputs: ["https://example.com/foo/bar/baz"\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar"}\] Inputs: [{"hostname":"example.com","pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar"}\] Inputs: [{"hostname":"example.com","pathname":"/foo/bar/baz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar"}\] Inputs: [{"pathname":"/foo/bar","baseURL":"https://example.com"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar"}\] Inputs: [{"pathname":"/foo/bar/baz","baseURL":"https://example.com"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar","baseURL":"https://example.com?query#hash"}\] Inputs: [{"pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar","baseURL":"https://example.com?query#hash"}\] Inputs: [{"hostname":"example.com","pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar","baseURL":"https://example.com?query#hash"}\] Inputs: [{"protocol":"https","hostname":"example.com","pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar","baseURL":"https://example.com"}\] Inputs: [{"protocol":"https","hostname":"example.com","pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar","baseURL":"https://example.com"}\] Inputs: [{"protocol":"https","hostname":"example.com","pathname":"/foo/bar/baz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar","baseURL":"https://example.com?query#hash"}\] Inputs: [{"protocol":"https","hostname":"example.com","pathname":"/foo/bar","search":"otherquery","hash":"otherhash"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar","baseURL":"https://example.com"}\] Inputs: [{"protocol":"https","hostname":"example.com","pathname":"/foo/bar","search":"otherquery","hash":"otherhash"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar","baseURL":"https://example.com?otherquery#otherhash"}\] Inputs: [{"protocol":"https","hostname":"example.com","pathname":"/foo/bar","search":"otherquery","hash":"otherhash"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar","baseURL":"https://example.com?query#hash"}\] Inputs: ["https://example.com/foo/bar"\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar","baseURL":"https://example.com?query#hash"}\] Inputs: ["https://example.com/foo/bar?otherquery#otherhash"\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar","baseURL":"https://example.com?query#hash"}\] Inputs: ["https://example.com/foo/bar?query#hash"\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar","baseURL":"https://example.com?query#hash"}\] Inputs: ["https://example.com/foo/bar/baz"\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar","baseURL":"https://example.com?query#hash"}\] Inputs: ["https://other.com/foo/bar"\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar","baseURL":"https://example.com?query#hash"}\] Inputs: ["http://other.com/foo/bar"\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar","baseURL":"https://example.com?query#hash"}\] Inputs: [{"pathname":"/foo/bar","baseURL":"https://example.com"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar","baseURL":"https://example.com?query#hash"}\] Inputs: [{"pathname":"/foo/bar","baseURL":"https://example.com?query#hash"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar","baseURL":"https://example.com?query#hash"}\] Inputs: [{"pathname":"/foo/bar/baz","baseURL":"https://example.com"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar","baseURL":"https://example.com?query#hash"}\] Inputs: [{"pathname":"/foo/bar","baseURL":"https://other.com"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar","baseURL":"https://example.com?query#hash"}\] Inputs: [{"pathname":"/foo/bar","baseURL":"http://example.com"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/:bar"}\] Inputs: [{"pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/([^\\\\/\]+?)"}\] Inputs: [{"pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/:bar"}\] Inputs: [{"pathname":"/foo/index.html"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/:bar"}\] Inputs: [{"pathname":"/foo/bar/"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/:bar"}\] Inputs: [{"pathname":"/foo/"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/(.*)"}\] Inputs: [{"pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/*"}\] Inputs: [{"pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/(.*)"}\] Inputs: [{"pathname":"/foo/bar/baz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/*"}\] Inputs: [{"pathname":"/foo/bar/baz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/(.*)"}\] Inputs: [{"pathname":"/foo/"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/*"}\] Inputs: [{"pathname":"/foo/"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/(.*)"}\] Inputs: [{"pathname":"/foo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/*"}\] Inputs: [{"pathname":"/foo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/:bar(.*)"}\] Inputs: [{"pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/:bar(.*)"}\] Inputs: [{"pathname":"/foo/bar/baz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/:bar(.*)"}\] Inputs: [{"pathname":"/foo/"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/:bar(.*)"}\] Inputs: [{"pathname":"/foo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/:bar?"}\] Inputs: [{"pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/:bar?"}\] Inputs: [{"pathname":"/foo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/:bar?"}\] Inputs: [{"pathname":"/foo/"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/:bar?"}\] Inputs: [{"pathname":"/foobar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/:bar?"}\] Inputs: [{"pathname":"/foo/bar/baz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/:bar+"}\] Inputs: [{"pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/:bar+"}\] Inputs: [{"pathname":"/foo/bar/baz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/:bar+"}\] Inputs: [{"pathname":"/foo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/:bar+"}\] Inputs: [{"pathname":"/foo/"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/:bar+"}\] Inputs: [{"pathname":"/foobar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/:bar*"}\] Inputs: [{"pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/:bar*"}\] Inputs: [{"pathname":"/foo/bar/baz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/:bar*"}\] Inputs: [{"pathname":"/foo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/:bar*"}\] Inputs: [{"pathname":"/foo/"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/:bar*"}\] Inputs: [{"pathname":"/foobar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/(.*)?"}\] Inputs: [{"pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/*?"}\] Inputs: [{"pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/(.*)?"}\] Inputs: [{"pathname":"/foo/bar/baz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/*?"}\] Inputs: [{"pathname":"/foo/bar/baz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/(.*)?"}\] Inputs: [{"pathname":"/foo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/*?"}\] Inputs: [{"pathname":"/foo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/(.*)?"}\] Inputs: [{"pathname":"/foo/"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/*?"}\] Inputs: [{"pathname":"/foo/"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/(.*)?"}\] Inputs: [{"pathname":"/foobar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/*?"}\] Inputs: [{"pathname":"/foobar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/(.*)?"}\] Inputs: [{"pathname":"/fo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/*?"}\] Inputs: [{"pathname":"/fo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/(.*)+"}\] Inputs: [{"pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/*+"}\] Inputs: [{"pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/(.*)+"}\] Inputs: [{"pathname":"/foo/bar/baz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/*+"}\] Inputs: [{"pathname":"/foo/bar/baz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/(.*)+"}\] Inputs: [{"pathname":"/foo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/*+"}\] Inputs: [{"pathname":"/foo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/(.*)+"}\] Inputs: [{"pathname":"/foo/"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/*+"}\] Inputs: [{"pathname":"/foo/"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/(.*)+"}\] Inputs: [{"pathname":"/foobar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/*+"}\] Inputs: [{"pathname":"/foobar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/(.*)+"}\] Inputs: [{"pathname":"/fo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/*+"}\] Inputs: [{"pathname":"/fo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/(.*)*"}\] Inputs: [{"pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/**"}\] Inputs: [{"pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/(.*)*"}\] Inputs: [{"pathname":"/foo/bar/baz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/**"}\] Inputs: [{"pathname":"/foo/bar/baz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/(.*)*"}\] Inputs: [{"pathname":"/foo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/**"}\] Inputs: [{"pathname":"/foo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/(.*)*"}\] Inputs: [{"pathname":"/foo/"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/**"}\] Inputs: [{"pathname":"/foo/"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/(.*)*"}\] Inputs: [{"pathname":"/foobar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/**"}\] Inputs: [{"pathname":"/foobar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/(.*)*"}\] Inputs: [{"pathname":"/fo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/**"}\] Inputs: [{"pathname":"/fo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo{/bar}"}\] Inputs: [{"pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo{/bar}"}\] Inputs: [{"pathname":"/foo/bar/baz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo{/bar}"}\] Inputs: [{"pathname":"/foo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo{/bar}"}\] Inputs: [{"pathname":"/foo/"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo{/bar}?"}\] Inputs: [{"pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo{/bar}?"}\] Inputs: [{"pathname":"/foo/bar/baz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo{/bar}?"}\] Inputs: [{"pathname":"/foo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo{/bar}?"}\] Inputs: [{"pathname":"/foo/"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo{/bar}+"}\] Inputs: [{"pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo{/bar}+"}\] Inputs: [{"pathname":"/foo/bar/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo{/bar}+"}\] Inputs: [{"pathname":"/foo/bar/baz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo{/bar}+"}\] Inputs: [{"pathname":"/foo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo{/bar}+"}\] Inputs: [{"pathname":"/foo/"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo{/bar}*"}\] Inputs: [{"pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo{/bar}*"}\] Inputs: [{"pathname":"/foo/bar/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo{/bar}*"}\] Inputs: [{"pathname":"/foo/bar/baz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo{/bar}*"}\] Inputs: [{"pathname":"/foo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo{/bar}*"}\] Inputs: [{"pathname":"/foo/"}\]]
- expected: FAIL
-
- [Pattern: [{"protocol":":café"}\] Inputs: [{"protocol":"foo"}\]]
- expected: FAIL
-
- [Pattern: [{"username":":café"}\] Inputs: [{"username":"foo"}\]]
- expected: FAIL
-
- [Pattern: [{"password":":café"}\] Inputs: [{"password":"foo"}\]]
- expected: FAIL
-
- [Pattern: [{"hostname":":café"}\] Inputs: [{"hostname":"foo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/:café"}\] Inputs: [{"pathname":"/foo"}\]]
- expected: FAIL
-
- [Pattern: [{"search":":café"}\] Inputs: [{"search":"foo"}\]]
- expected: FAIL
-
- [Pattern: [{"hash":":café"}\] Inputs: [{"hash":"foo"}\]]
- expected: FAIL
-
- [Pattern: [{"protocol":":℘"}\] Inputs: [{"protocol":"foo"}\]]
- expected: FAIL
-
- [Pattern: [{"username":":℘"}\] Inputs: [{"username":"foo"}\]]
- expected: FAIL
-
- [Pattern: [{"password":":℘"}\] Inputs: [{"password":"foo"}\]]
- expected: FAIL
-
- [Pattern: [{"hostname":":℘"}\] Inputs: [{"hostname":"foo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/:℘"}\] Inputs: [{"pathname":"/foo"}\]]
- expected: FAIL
-
- [Pattern: [{"search":":℘"}\] Inputs: [{"search":"foo"}\]]
- expected: FAIL
-
- [Pattern: [{"hash":":℘"}\] Inputs: [{"hash":"foo"}\]]
- expected: FAIL
-
- [Pattern: [{"protocol":":㐀"}\] Inputs: [{"protocol":"foo"}\]]
- expected: FAIL
-
- [Pattern: [{"username":":㐀"}\] Inputs: [{"username":"foo"}\]]
- expected: FAIL
-
- [Pattern: [{"password":":㐀"}\] Inputs: [{"password":"foo"}\]]
- expected: FAIL
-
- [Pattern: [{"hostname":":㐀"}\] Inputs: [{"hostname":"foo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/:㐀"}\] Inputs: [{"pathname":"/foo"}\]]
- expected: FAIL
-
- [Pattern: [{"search":":㐀"}\] Inputs: [{"search":"foo"}\]]
- expected: FAIL
-
- [Pattern: [{"hash":":㐀"}\] Inputs: [{"hash":"foo"}\]]
- expected: FAIL
-
- [Pattern: [{"protocol":"(.*)"}\] Inputs: [{"protocol":"café"}\]]
- expected: FAIL
-
- [Pattern: [{"protocol":"(.*)"}\] Inputs: [{"protocol":"cafe"}\]]
- expected: FAIL
-
- [Pattern: [{"protocol":"foo-bar"}\] Inputs: [{"protocol":"foo-bar"}\]]
- expected: FAIL
-
- [Pattern: [{"username":"caf%C3%A9"}\] Inputs: [{"username":"café"}\]]
- expected: FAIL
-
- [Pattern: [{"username":"café"}\] Inputs: [{"username":"café"}\]]
- expected: FAIL
-
- [Pattern: [{"username":"caf%c3%a9"}\] Inputs: [{"username":"café"}\]]
- expected: FAIL
-
- [Pattern: [{"password":"caf%C3%A9"}\] Inputs: [{"password":"café"}\]]
- expected: FAIL
-
- [Pattern: [{"password":"café"}\] Inputs: [{"password":"café"}\]]
- expected: FAIL
-
- [Pattern: [{"password":"caf%c3%a9"}\] Inputs: [{"password":"café"}\]]
- expected: FAIL
-
- [Pattern: [{"hostname":"xn--caf-dma.com"}\] Inputs: [{"hostname":"café.com"}\]]
- expected: FAIL
-
- [Pattern: [{"hostname":"café.com"}\] Inputs: [{"hostname":"café.com"}\]]
- expected: FAIL
-
- [Pattern: ["http://🚲.com/"\] Inputs: ["http://🚲.com/"\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"\\ud83d \\udeb2"}\] Inputs: [\]]
- expected: FAIL
-
- [Pattern: [{"pathname":":a󠄀b"}\] Inputs: [\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"test/:a𐑐b"}\] Inputs: [{"pathname":"test/foo"}\]]
- expected: FAIL
-
- [Pattern: [{"port":""}\] Inputs: [{"protocol":"http","port":"80"}\]]
- expected: FAIL
-
- [Pattern: [{"protocol":"http","port":"80"}\] Inputs: [{"protocol":"http","port":"80"}\]]
- expected: FAIL
-
- [Pattern: [{"protocol":"http","port":"80{20}?"}\] Inputs: [{"protocol":"http","port":"80"}\]]
- expected: FAIL
-
[Pattern: [{"protocol":"http","port":"80 "}\] Inputs: [{"protocol":"http","port":"80"}\]]
expected: FAIL
- [Pattern: [{"port":"80"}\] Inputs: [{"protocol":"http","port":"80"}\]]
- expected: FAIL
-
- [Pattern: [{"protocol":"http{s}?","port":"80"}\] Inputs: [{"protocol":"http","port":"80"}\]]
- expected: FAIL
-
- [Pattern: [{"port":"80"}\] Inputs: [{"port":"80"}\]]
- expected: FAIL
-
- [Pattern: [{"port":"(.*)"}\] Inputs: [{"port":"invalid80"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar"}\] Inputs: [{"pathname":"/foo/./bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/baz"}\] Inputs: [{"pathname":"/foo/bar/../baz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/caf%C3%A9"}\] Inputs: [{"pathname":"/café"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/café"}\] Inputs: [{"pathname":"/café"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/caf%c3%a9"}\] Inputs: [{"pathname":"/café"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar"}\] Inputs: [{"pathname":"foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar"}\] Inputs: [{"pathname":"foo/bar","baseURL":"https://example.com"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/../bar"}\] Inputs: [{"pathname":"/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"./foo/bar","baseURL":"https://example.com"}\] Inputs: [{"pathname":"foo/bar","baseURL":"https://example.com"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"","baseURL":"https://example.com"}\] Inputs: [{"pathname":"/","baseURL":"https://example.com"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"{/bar}","baseURL":"https://example.com/foo/"}\] Inputs: [{"pathname":"./bar","baseURL":"https://example.com/foo/"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"\\\\/bar","baseURL":"https://example.com/foo/"}\] Inputs: [{"pathname":"./bar","baseURL":"https://example.com/foo/"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"b","baseURL":"https://example.com/foo/"}\] Inputs: [{"pathname":"./b","baseURL":"https://example.com/foo/"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"foo/bar"}\] Inputs: ["https://example.com/foo/bar"\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"foo/bar","baseURL":"https://example.com"}\] Inputs: ["https://example.com/foo/bar"\]]
- expected: FAIL
-
- [Pattern: [{"pathname":":name.html","baseURL":"https://example.com"}\] Inputs: ["https://example.com/foo.html"\]]
- expected: FAIL
-
- [Pattern: [{"search":"q=caf%C3%A9"}\] Inputs: [{"search":"q=café"}\]]
- expected: FAIL
-
- [Pattern: [{"search":"q=café"}\] Inputs: [{"search":"q=café"}\]]
- expected: FAIL
-
- [Pattern: [{"search":"q=caf%c3%a9"}\] Inputs: [{"search":"q=café"}\]]
- expected: FAIL
-
- [Pattern: [{"hash":"caf%C3%A9"}\] Inputs: [{"hash":"café"}\]]
- expected: FAIL
-
- [Pattern: [{"hash":"café"}\] Inputs: [{"hash":"café"}\]]
- expected: FAIL
-
- [Pattern: [{"hash":"caf%c3%a9"}\] Inputs: [{"hash":"café"}\]]
- expected: FAIL
-
- [Pattern: [{"protocol":"about","pathname":"(blank|sourcedoc)"}\] Inputs: ["about:blank"\]]
- expected: FAIL
-
- [Pattern: [{"protocol":"data","pathname":":number([0-9\]+)"}\] Inputs: ["data:8675309"\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo!"}\] Inputs: [{"pathname":"/foo!"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo\\\\:"}\] Inputs: [{"pathname":"/foo:"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo\\\\{"}\] Inputs: [{"pathname":"/foo{"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo\\\\("}\] Inputs: [{"pathname":"/foo("}\]]
- expected: FAIL
-
- [Pattern: [{"protocol":"javascript","pathname":"var x = 1;"}\] Inputs: [{"protocol":"javascript","pathname":"var x = 1;"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"var x = 1;"}\] Inputs: [{"protocol":"javascript","pathname":"var x = 1;"}\]]
- expected: FAIL
-
- [Pattern: [{"protocol":"javascript","pathname":"var x = 1;"}\] Inputs: [{"baseURL":"javascript:var x = 1;"}\]]
- expected: FAIL
-
- [Pattern: [{"protocol":"(data|javascript)","pathname":"var x = 1;"}\] Inputs: [{"protocol":"javascript","pathname":"var x = 1;"}\]]
- expected: FAIL
-
- [Pattern: [{"protocol":"(https|javascript)","pathname":"var x = 1;"}\] Inputs: [{"protocol":"javascript","pathname":"var x = 1;"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"var x = 1;"}\] Inputs: [{"pathname":"var x = 1;"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar"}\] Inputs: ["./foo/bar","https://example.com"\]]
- expected: FAIL
-
- [Pattern: ["https://example.com:8080/foo?bar#baz"\] Inputs: [{"pathname":"/foo","search":"bar","hash":"baz","baseURL":"https://example.com:8080"}\]]
- expected: FAIL
-
- [Pattern: ["/foo?bar#baz","https://example.com:8080"\] Inputs: [{"pathname":"/foo","search":"bar","hash":"baz","baseURL":"https://example.com:8080"}\]]
- expected: FAIL
-
- [Pattern: ["http{s}?://{*.}?example.com/:product/:endpoint"\] Inputs: ["https://sub.example.com/foo/bar"\]]
- expected: FAIL
-
- [Pattern: ["https://example.com?foo"\] Inputs: ["https://example.com/?foo"\]]
- expected: FAIL
-
- [Pattern: ["https://example.com#foo"\] Inputs: ["https://example.com/#foo"\]]
- expected: FAIL
-
- [Pattern: ["https://example.com:8080?foo"\] Inputs: ["https://example.com:8080/?foo"\]]
- expected: FAIL
-
- [Pattern: ["https://example.com:8080#foo"\] Inputs: ["https://example.com:8080/#foo"\]]
- expected: FAIL
-
- [Pattern: ["https://example.com/?foo"\] Inputs: ["https://example.com/?foo"\]]
- expected: FAIL
-
- [Pattern: ["https://example.com/#foo"\] Inputs: ["https://example.com/#foo"\]]
- expected: FAIL
-
- [Pattern: ["https://example.com/*?foo"\] Inputs: ["https://example.com/?foo"\]]
- expected: FAIL
-
- [Pattern: ["https://example.com/*\\\\?foo"\] Inputs: ["https://example.com/?foo"\]]
- expected: FAIL
-
- [Pattern: ["https://example.com/:name?foo"\] Inputs: ["https://example.com/bar?foo"\]]
- expected: FAIL
-
- [Pattern: ["https://example.com/:name\\\\?foo"\] Inputs: ["https://example.com/bar?foo"\]]
- expected: FAIL
-
- [Pattern: ["https://example.com/(bar)?foo"\] Inputs: ["https://example.com/bar?foo"\]]
- expected: FAIL
-
- [Pattern: ["https://example.com/(bar)\\\\?foo"\] Inputs: ["https://example.com/bar?foo"\]]
- expected: FAIL
-
- [Pattern: ["https://example.com/{bar}?foo"\] Inputs: ["https://example.com/bar?foo"\]]
- expected: FAIL
-
- [Pattern: ["https://example.com/{bar}\\\\?foo"\] Inputs: ["https://example.com/bar?foo"\]]
- expected: FAIL
-
- [Pattern: ["https://example.com/"\] Inputs: ["https://example.com:8080/"\]]
- expected: FAIL
-
- [Pattern: ["data\\\\:foobar"\] Inputs: ["data:foobar"\]]
- expected: FAIL
-
- [Pattern: ["https://{sub.}?example.com/foo"\] Inputs: ["https://example.com/foo"\]]
- expected: FAIL
-
- [Pattern: ["https://(sub.)?example.com/foo"\] Inputs: ["https://example.com/foo"\]]
- expected: FAIL
-
- [Pattern: ["https://(sub.)?example(.com/)foo"\] Inputs: ["https://example.com/foo"\]]
- expected: FAIL
-
- [Pattern: ["https://(sub(?:.))?example.com/foo"\] Inputs: ["https://example.com/foo"\]]
- expected: FAIL
-
- [Pattern: ["file:///foo/bar"\] Inputs: ["file:///foo/bar"\]]
- expected: FAIL
-
- [Pattern: ["data:"\] Inputs: ["data:"\]]
- expected: FAIL
-
- [Pattern: ["foo://bar"\] Inputs: ["foo://bad_url_browser_interop"\]]
- expected: FAIL
-
- [Pattern: ["https://example.com/foo?bar#baz"\] Inputs: [{"protocol":"https:","search":"?bar","hash":"#baz","baseURL":"http://example.com/foo"}\]]
- expected: FAIL
-
- [Pattern: [{"protocol":"http{s}?:","search":"?bar","hash":"#baz"}\] Inputs: ["http://example.com/foo?bar#baz"\]]
- expected: FAIL
-
- [Pattern: ["?bar#baz","https://example.com/foo"\] Inputs: ["?bar#baz","https://example.com/foo"\]]
- expected: FAIL
-
- [Pattern: ["?bar","https://example.com/foo#baz"\] Inputs: ["?bar","https://example.com/foo#snafu"\]]
- expected: FAIL
-
- [Pattern: ["#baz","https://example.com/foo?bar"\] Inputs: ["#baz","https://example.com/foo?bar"\]]
- expected: FAIL
-
- [Pattern: ["#baz","https://example.com/foo"\] Inputs: ["#baz","https://example.com/foo"\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"*"}\] Inputs: ["foo","data:data-urls-cannot-be-base-urls"\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"*"}\] Inputs: ["foo","not|a|valid|url"\]]
- expected: FAIL
-
- [Pattern: ["https://foo\\\\:bar@example.com"\] Inputs: ["https://foo:bar@example.com"\]]
- expected: FAIL
-
- [Pattern: ["https://foo@example.com"\] Inputs: ["https://foo@example.com"\]]
- expected: FAIL
-
- [Pattern: ["https://\\\\:bar@example.com"\] Inputs: ["https://:bar@example.com"\]]
- expected: FAIL
-
- [Pattern: ["https://:user::pass@example.com"\] Inputs: ["https://foo:bar@example.com"\]]
- expected: FAIL
-
- [Pattern: ["https\\\\:foo\\\\:bar@example.com"\] Inputs: ["https:foo:bar@example.com"\]]
- expected: FAIL
-
- [Pattern: ["data\\\\:foo\\\\:bar@example.com"\] Inputs: ["data:foo:bar@example.com"\]]
- expected: FAIL
-
- [Pattern: ["https://foo{\\\\:}bar@example.com"\] Inputs: ["https://foo:bar@example.com"\]]
- expected: FAIL
-
- [Pattern: ["data{\\\\:}channel.html","https://example.com"\] Inputs: ["https://example.com/data:channel.html"\]]
- expected: FAIL
-
- [Pattern: ["http://[\\\\:\\\\:1\]/"\] Inputs: ["http://[::1\]/"\]]
- expected: FAIL
-
- [Pattern: ["http://[\\\\:\\\\:1\]:8080/"\] Inputs: ["http://[::1\]:8080/"\]]
- expected: FAIL
-
- [Pattern: ["http://[\\\\:\\\\:a\]/"\] Inputs: ["http://[::a\]/"\]]
- expected: FAIL
-
- [Pattern: ["http://[:address\]/"\] Inputs: ["http://[::1\]/"\]]
- expected: FAIL
-
- [Pattern: ["http://[\\\\:\\\\:AB\\\\::num\]/"\] Inputs: ["http://[::ab:1\]/"\]]
- expected: FAIL
-
- [Pattern: [{"hostname":"[\\\\:\\\\:AB\\\\::num\]"}\] Inputs: [{"hostname":"[::ab:1\]"}\]]
- expected: FAIL
-
- [Pattern: [{"hostname":"{[\\\\:\\\\:ab\\\\::num\]}"}\] Inputs: [{"hostname":"[::ab:1\]"}\]]
- expected: FAIL
-
- [Pattern: [{"hostname":"{[\\\\:\\\\::num\\\\:1\]}"}\] Inputs: [{"hostname":"[::ab:1\]"}\]]
- expected: FAIL
-
- [Pattern: [{"hostname":"[*\\\\:1\]"}\] Inputs: [{"hostname":"[::ab:1\]"}\]]
- expected: FAIL
-
- [Pattern: ["data\\\\:text/javascript,let x = 100/:tens?5;"\] Inputs: ["data:text/javascript,let x = 100/5;"\]]
- expected: FAIL
-
- [Pattern: [{"pathname":":name*"}\] Inputs: [{"pathname":"foobar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":":name+"}\] Inputs: [{"pathname":"foobar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":":name"}\] Inputs: [{"pathname":"foobar"}\]]
- expected: FAIL
-
- [Pattern: [{"protocol":":name*"}\] Inputs: [{"protocol":"foobar"}\]]
- expected: FAIL
-
- [Pattern: [{"protocol":":name+"}\] Inputs: [{"protocol":"foobar"}\]]
- expected: FAIL
-
- [Pattern: [{"protocol":":name"}\] Inputs: [{"protocol":"foobar"}\]]
- expected: FAIL
-
[Pattern: [{"hostname":"bad#hostname"}\] Inputs: [{"hostname":"bad"}\]]
expected: FAIL
@@ -776,147 +23,9 @@
[Pattern: [{"hostname":"bad\\thostname"}\] Inputs: [{"hostname":"badhostname"}\]]
expected: FAIL
- [Pattern: [{}\] Inputs: ["https://example.com/"\]]
- expected: FAIL
-
- [Pattern: [\] Inputs: ["https://example.com/"\]]
- expected: FAIL
-
- [Pattern: [\] Inputs: [{}\]]
- expected: FAIL
-
- [Pattern: [\] Inputs: [\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"(foo)(.*)"}\] Inputs: [{"pathname":"foobarbaz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"{(foo)bar}(.*)"}\] Inputs: [{"pathname":"foobarbaz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"(foo)?(.*)"}\] Inputs: [{"pathname":"foobarbaz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"{:foo}(.*)"}\] Inputs: [{"pathname":"foobarbaz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"{:foo}(barbaz)"}\] Inputs: [{"pathname":"foobarbaz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"{:foo}{(.*)}"}\] Inputs: [{"pathname":"foobarbaz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"{:foo}{(.*)bar}"}\] Inputs: [{"pathname":"foobarbaz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"{:foo}{bar(.*)}"}\] Inputs: [{"pathname":"foobarbaz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"{:foo}:bar(.*)"}\] Inputs: [{"pathname":"foobarbaz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"{:foo}?(.*)"}\] Inputs: [{"pathname":"foobarbaz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"{:foo\\\\bar}"}\] Inputs: [{"pathname":"foobar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"{:foo\\\\.bar}"}\] Inputs: [{"pathname":"foo.bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"{:foo(foo)bar}"}\] Inputs: [{"pathname":"foobar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"{:foo}bar"}\] Inputs: [{"pathname":"foobar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":":foo\\\\bar"}\] Inputs: [{"pathname":"foobar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":":foo{}(.*)"}\] Inputs: [{"pathname":"foobar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":":foo{}bar"}\] Inputs: [{"pathname":"foobar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":":foo{}?bar"}\] Inputs: [{"pathname":"foobar"}\]]
- expected: FAIL
-
[Pattern: [{"pathname":"*{}**?"}\] Inputs: [{"pathname":"foobar"}\]]
expected: FAIL
- [Pattern: [{"pathname":":foo(baz)(.*)"}\] Inputs: [{"pathname":"bazbar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":":foo(baz)bar"}\] Inputs: [{"pathname":"bazbar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"*/*"}\] Inputs: [{"pathname":"foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"*\\\\/*"}\] Inputs: [{"pathname":"foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"*/{*}"}\] Inputs: [{"pathname":"foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"*//*"}\] Inputs: [{"pathname":"foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/:foo."}\] Inputs: [{"pathname":"/bar."}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/:foo.."}\] Inputs: [{"pathname":"/bar.."}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"./foo"}\] Inputs: [{"pathname":"./foo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"../foo"}\] Inputs: [{"pathname":"../foo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":":foo./"}\] Inputs: [{"pathname":"bar./"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":":foo../"}\] Inputs: [{"pathname":"bar../"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/:foo\\\\bar"}\] Inputs: [{"pathname":"/bazbar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar"},{"ignoreCase":true}\] Inputs: [{"pathname":"/FOO/BAR"}\]]
- expected: FAIL
-
- [Pattern: [{"ignoreCase":true}\] Inputs: [{"pathname":"/FOO/BAR"}\]]
- expected: FAIL
-
- [Pattern: ["https://example.com:8080/foo?bar#baz",{"ignoreCase":true}\] Inputs: [{"pathname":"/FOO","search":"BAR","hash":"BAZ","baseURL":"https://example.com:8080"}\]]
- expected: FAIL
-
- [Pattern: ["/foo?bar#baz","https://example.com:8080",{"ignoreCase":true}\] Inputs: [{"pathname":"/FOO","search":"BAR","hash":"BAZ","baseURL":"https://example.com:8080"}\]]
- expected: FAIL
-
- [Pattern: [{"search":"foo","baseURL":"https://example.com/a/+/b"}\] Inputs: [{"search":"foo","baseURL":"https://example.com/a/+/b"}\]]
- expected: FAIL
-
- [Pattern: [{"hash":"foo","baseURL":"https://example.com/?q=*&v=?&hmm={}&umm=()"}\] Inputs: [{"hash":"foo","baseURL":"https://example.com/?q=*&v=?&hmm={}&umm=()"}\]]
- expected: FAIL
-
- [Pattern: ["#foo","https://example.com/?q=*&v=?&hmm={}&umm=()"\] Inputs: ["https://example.com/?q=*&v=?&hmm={}&umm=()#foo"\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/([[a-z\]--a\])"}\] Inputs: [{"pathname":"/a"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/([[a-z\]--a\])"}\] Inputs: [{"pathname":"/z"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/([\\\\d&&[0-1\]\])"}\] Inputs: [{"pathname":"/0"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/([\\\\d&&[0-1\]\])"}\] Inputs: [{"pathname":"/3"}\]]
- expected: FAIL
-
[Pattern: [{"port":"80"}\] Inputs: [{"port":"8\\t0"}\]]
expected: FAIL
@@ -935,767 +44,11 @@
[Pattern: [{"hostname":"bad\\\\:hostname"}\] Inputs: undefined]
expected: FAIL
- [Pattern: [{"pathname":"/foo","baseURL":""}\] Inputs: undefined]
- expected: FAIL
-
[urlpattern.https.any.worker.html]
- [Pattern: [{"pathname":"/foo/bar"}\] Inputs: [{"pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar"}\] Inputs: [{"pathname":"/foo/ba"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar"}\] Inputs: [{"pathname":"/foo/bar/"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar"}\] Inputs: [{"pathname":"/foo/bar/baz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar"}\] Inputs: ["https://example.com/foo/bar"\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar"}\] Inputs: ["https://example.com/foo/bar/baz"\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar"}\] Inputs: [{"hostname":"example.com","pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar"}\] Inputs: [{"hostname":"example.com","pathname":"/foo/bar/baz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar"}\] Inputs: [{"pathname":"/foo/bar","baseURL":"https://example.com"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar"}\] Inputs: [{"pathname":"/foo/bar/baz","baseURL":"https://example.com"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar","baseURL":"https://example.com?query#hash"}\] Inputs: [{"pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar","baseURL":"https://example.com?query#hash"}\] Inputs: [{"hostname":"example.com","pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar","baseURL":"https://example.com?query#hash"}\] Inputs: [{"protocol":"https","hostname":"example.com","pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar","baseURL":"https://example.com"}\] Inputs: [{"protocol":"https","hostname":"example.com","pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar","baseURL":"https://example.com"}\] Inputs: [{"protocol":"https","hostname":"example.com","pathname":"/foo/bar/baz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar","baseURL":"https://example.com?query#hash"}\] Inputs: [{"protocol":"https","hostname":"example.com","pathname":"/foo/bar","search":"otherquery","hash":"otherhash"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar","baseURL":"https://example.com"}\] Inputs: [{"protocol":"https","hostname":"example.com","pathname":"/foo/bar","search":"otherquery","hash":"otherhash"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar","baseURL":"https://example.com?otherquery#otherhash"}\] Inputs: [{"protocol":"https","hostname":"example.com","pathname":"/foo/bar","search":"otherquery","hash":"otherhash"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar","baseURL":"https://example.com?query#hash"}\] Inputs: ["https://example.com/foo/bar"\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar","baseURL":"https://example.com?query#hash"}\] Inputs: ["https://example.com/foo/bar?otherquery#otherhash"\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar","baseURL":"https://example.com?query#hash"}\] Inputs: ["https://example.com/foo/bar?query#hash"\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar","baseURL":"https://example.com?query#hash"}\] Inputs: ["https://example.com/foo/bar/baz"\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar","baseURL":"https://example.com?query#hash"}\] Inputs: ["https://other.com/foo/bar"\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar","baseURL":"https://example.com?query#hash"}\] Inputs: ["http://other.com/foo/bar"\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar","baseURL":"https://example.com?query#hash"}\] Inputs: [{"pathname":"/foo/bar","baseURL":"https://example.com"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar","baseURL":"https://example.com?query#hash"}\] Inputs: [{"pathname":"/foo/bar","baseURL":"https://example.com?query#hash"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar","baseURL":"https://example.com?query#hash"}\] Inputs: [{"pathname":"/foo/bar/baz","baseURL":"https://example.com"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar","baseURL":"https://example.com?query#hash"}\] Inputs: [{"pathname":"/foo/bar","baseURL":"https://other.com"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar","baseURL":"https://example.com?query#hash"}\] Inputs: [{"pathname":"/foo/bar","baseURL":"http://example.com"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/:bar"}\] Inputs: [{"pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/([^\\\\/\]+?)"}\] Inputs: [{"pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/:bar"}\] Inputs: [{"pathname":"/foo/index.html"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/:bar"}\] Inputs: [{"pathname":"/foo/bar/"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/:bar"}\] Inputs: [{"pathname":"/foo/"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/(.*)"}\] Inputs: [{"pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/*"}\] Inputs: [{"pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/(.*)"}\] Inputs: [{"pathname":"/foo/bar/baz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/*"}\] Inputs: [{"pathname":"/foo/bar/baz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/(.*)"}\] Inputs: [{"pathname":"/foo/"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/*"}\] Inputs: [{"pathname":"/foo/"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/(.*)"}\] Inputs: [{"pathname":"/foo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/*"}\] Inputs: [{"pathname":"/foo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/:bar(.*)"}\] Inputs: [{"pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/:bar(.*)"}\] Inputs: [{"pathname":"/foo/bar/baz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/:bar(.*)"}\] Inputs: [{"pathname":"/foo/"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/:bar(.*)"}\] Inputs: [{"pathname":"/foo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/:bar?"}\] Inputs: [{"pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/:bar?"}\] Inputs: [{"pathname":"/foo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/:bar?"}\] Inputs: [{"pathname":"/foo/"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/:bar?"}\] Inputs: [{"pathname":"/foobar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/:bar?"}\] Inputs: [{"pathname":"/foo/bar/baz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/:bar+"}\] Inputs: [{"pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/:bar+"}\] Inputs: [{"pathname":"/foo/bar/baz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/:bar+"}\] Inputs: [{"pathname":"/foo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/:bar+"}\] Inputs: [{"pathname":"/foo/"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/:bar+"}\] Inputs: [{"pathname":"/foobar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/:bar*"}\] Inputs: [{"pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/:bar*"}\] Inputs: [{"pathname":"/foo/bar/baz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/:bar*"}\] Inputs: [{"pathname":"/foo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/:bar*"}\] Inputs: [{"pathname":"/foo/"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/:bar*"}\] Inputs: [{"pathname":"/foobar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/(.*)?"}\] Inputs: [{"pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/*?"}\] Inputs: [{"pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/(.*)?"}\] Inputs: [{"pathname":"/foo/bar/baz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/*?"}\] Inputs: [{"pathname":"/foo/bar/baz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/(.*)?"}\] Inputs: [{"pathname":"/foo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/*?"}\] Inputs: [{"pathname":"/foo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/(.*)?"}\] Inputs: [{"pathname":"/foo/"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/*?"}\] Inputs: [{"pathname":"/foo/"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/(.*)?"}\] Inputs: [{"pathname":"/foobar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/*?"}\] Inputs: [{"pathname":"/foobar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/(.*)?"}\] Inputs: [{"pathname":"/fo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/*?"}\] Inputs: [{"pathname":"/fo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/(.*)+"}\] Inputs: [{"pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/*+"}\] Inputs: [{"pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/(.*)+"}\] Inputs: [{"pathname":"/foo/bar/baz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/*+"}\] Inputs: [{"pathname":"/foo/bar/baz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/(.*)+"}\] Inputs: [{"pathname":"/foo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/*+"}\] Inputs: [{"pathname":"/foo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/(.*)+"}\] Inputs: [{"pathname":"/foo/"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/*+"}\] Inputs: [{"pathname":"/foo/"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/(.*)+"}\] Inputs: [{"pathname":"/foobar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/*+"}\] Inputs: [{"pathname":"/foobar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/(.*)+"}\] Inputs: [{"pathname":"/fo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/*+"}\] Inputs: [{"pathname":"/fo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/(.*)*"}\] Inputs: [{"pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/**"}\] Inputs: [{"pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/(.*)*"}\] Inputs: [{"pathname":"/foo/bar/baz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/**"}\] Inputs: [{"pathname":"/foo/bar/baz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/(.*)*"}\] Inputs: [{"pathname":"/foo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/**"}\] Inputs: [{"pathname":"/foo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/(.*)*"}\] Inputs: [{"pathname":"/foo/"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/**"}\] Inputs: [{"pathname":"/foo/"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/(.*)*"}\] Inputs: [{"pathname":"/foobar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/**"}\] Inputs: [{"pathname":"/foobar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/(.*)*"}\] Inputs: [{"pathname":"/fo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/**"}\] Inputs: [{"pathname":"/fo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo{/bar}"}\] Inputs: [{"pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo{/bar}"}\] Inputs: [{"pathname":"/foo/bar/baz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo{/bar}"}\] Inputs: [{"pathname":"/foo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo{/bar}"}\] Inputs: [{"pathname":"/foo/"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo{/bar}?"}\] Inputs: [{"pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo{/bar}?"}\] Inputs: [{"pathname":"/foo/bar/baz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo{/bar}?"}\] Inputs: [{"pathname":"/foo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo{/bar}?"}\] Inputs: [{"pathname":"/foo/"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo{/bar}+"}\] Inputs: [{"pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo{/bar}+"}\] Inputs: [{"pathname":"/foo/bar/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo{/bar}+"}\] Inputs: [{"pathname":"/foo/bar/baz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo{/bar}+"}\] Inputs: [{"pathname":"/foo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo{/bar}+"}\] Inputs: [{"pathname":"/foo/"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo{/bar}*"}\] Inputs: [{"pathname":"/foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo{/bar}*"}\] Inputs: [{"pathname":"/foo/bar/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo{/bar}*"}\] Inputs: [{"pathname":"/foo/bar/baz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo{/bar}*"}\] Inputs: [{"pathname":"/foo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo{/bar}*"}\] Inputs: [{"pathname":"/foo/"}\]]
- expected: FAIL
-
- [Pattern: [{"protocol":":café"}\] Inputs: [{"protocol":"foo"}\]]
- expected: FAIL
-
- [Pattern: [{"username":":café"}\] Inputs: [{"username":"foo"}\]]
- expected: FAIL
-
- [Pattern: [{"password":":café"}\] Inputs: [{"password":"foo"}\]]
- expected: FAIL
-
- [Pattern: [{"hostname":":café"}\] Inputs: [{"hostname":"foo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/:café"}\] Inputs: [{"pathname":"/foo"}\]]
- expected: FAIL
-
- [Pattern: [{"search":":café"}\] Inputs: [{"search":"foo"}\]]
- expected: FAIL
-
- [Pattern: [{"hash":":café"}\] Inputs: [{"hash":"foo"}\]]
- expected: FAIL
-
- [Pattern: [{"protocol":":℘"}\] Inputs: [{"protocol":"foo"}\]]
- expected: FAIL
-
- [Pattern: [{"username":":℘"}\] Inputs: [{"username":"foo"}\]]
- expected: FAIL
-
- [Pattern: [{"password":":℘"}\] Inputs: [{"password":"foo"}\]]
- expected: FAIL
-
- [Pattern: [{"hostname":":℘"}\] Inputs: [{"hostname":"foo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/:℘"}\] Inputs: [{"pathname":"/foo"}\]]
- expected: FAIL
-
- [Pattern: [{"search":":℘"}\] Inputs: [{"search":"foo"}\]]
- expected: FAIL
-
- [Pattern: [{"hash":":℘"}\] Inputs: [{"hash":"foo"}\]]
- expected: FAIL
-
- [Pattern: [{"protocol":":㐀"}\] Inputs: [{"protocol":"foo"}\]]
- expected: FAIL
-
- [Pattern: [{"username":":㐀"}\] Inputs: [{"username":"foo"}\]]
- expected: FAIL
-
- [Pattern: [{"password":":㐀"}\] Inputs: [{"password":"foo"}\]]
- expected: FAIL
-
- [Pattern: [{"hostname":":㐀"}\] Inputs: [{"hostname":"foo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/:㐀"}\] Inputs: [{"pathname":"/foo"}\]]
- expected: FAIL
-
- [Pattern: [{"search":":㐀"}\] Inputs: [{"search":"foo"}\]]
- expected: FAIL
-
- [Pattern: [{"hash":":㐀"}\] Inputs: [{"hash":"foo"}\]]
- expected: FAIL
-
- [Pattern: [{"protocol":"(.*)"}\] Inputs: [{"protocol":"café"}\]]
- expected: FAIL
-
- [Pattern: [{"protocol":"(.*)"}\] Inputs: [{"protocol":"cafe"}\]]
- expected: FAIL
-
- [Pattern: [{"protocol":"foo-bar"}\] Inputs: [{"protocol":"foo-bar"}\]]
- expected: FAIL
-
- [Pattern: [{"username":"caf%C3%A9"}\] Inputs: [{"username":"café"}\]]
- expected: FAIL
-
- [Pattern: [{"username":"café"}\] Inputs: [{"username":"café"}\]]
- expected: FAIL
-
- [Pattern: [{"username":"caf%c3%a9"}\] Inputs: [{"username":"café"}\]]
- expected: FAIL
-
- [Pattern: [{"password":"caf%C3%A9"}\] Inputs: [{"password":"café"}\]]
- expected: FAIL
-
- [Pattern: [{"password":"café"}\] Inputs: [{"password":"café"}\]]
- expected: FAIL
-
- [Pattern: [{"password":"caf%c3%a9"}\] Inputs: [{"password":"café"}\]]
- expected: FAIL
-
- [Pattern: [{"hostname":"xn--caf-dma.com"}\] Inputs: [{"hostname":"café.com"}\]]
- expected: FAIL
-
- [Pattern: [{"hostname":"café.com"}\] Inputs: [{"hostname":"café.com"}\]]
- expected: FAIL
-
- [Pattern: ["http://🚲.com/"\] Inputs: ["http://🚲.com/"\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"\\ud83d \\udeb2"}\] Inputs: [\]]
- expected: FAIL
-
- [Pattern: [{"pathname":":a󠄀b"}\] Inputs: [\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"test/:a𐑐b"}\] Inputs: [{"pathname":"test/foo"}\]]
- expected: FAIL
-
- [Pattern: [{"port":""}\] Inputs: [{"protocol":"http","port":"80"}\]]
- expected: FAIL
-
- [Pattern: [{"protocol":"http","port":"80"}\] Inputs: [{"protocol":"http","port":"80"}\]]
- expected: FAIL
-
- [Pattern: [{"protocol":"http","port":"80{20}?"}\] Inputs: [{"protocol":"http","port":"80"}\]]
- expected: FAIL
-
[Pattern: [{"protocol":"http","port":"80 "}\] Inputs: [{"protocol":"http","port":"80"}\]]
expected: FAIL
- [Pattern: [{"port":"80"}\] Inputs: [{"protocol":"http","port":"80"}\]]
- expected: FAIL
-
- [Pattern: [{"protocol":"http{s}?","port":"80"}\] Inputs: [{"protocol":"http","port":"80"}\]]
- expected: FAIL
-
- [Pattern: [{"port":"80"}\] Inputs: [{"port":"80"}\]]
- expected: FAIL
-
- [Pattern: [{"port":"(.*)"}\] Inputs: [{"port":"invalid80"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar"}\] Inputs: [{"pathname":"/foo/./bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/baz"}\] Inputs: [{"pathname":"/foo/bar/../baz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/caf%C3%A9"}\] Inputs: [{"pathname":"/café"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/café"}\] Inputs: [{"pathname":"/café"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/caf%c3%a9"}\] Inputs: [{"pathname":"/café"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar"}\] Inputs: [{"pathname":"foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar"}\] Inputs: [{"pathname":"foo/bar","baseURL":"https://example.com"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/../bar"}\] Inputs: [{"pathname":"/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"./foo/bar","baseURL":"https://example.com"}\] Inputs: [{"pathname":"foo/bar","baseURL":"https://example.com"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"","baseURL":"https://example.com"}\] Inputs: [{"pathname":"/","baseURL":"https://example.com"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"{/bar}","baseURL":"https://example.com/foo/"}\] Inputs: [{"pathname":"./bar","baseURL":"https://example.com/foo/"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"\\\\/bar","baseURL":"https://example.com/foo/"}\] Inputs: [{"pathname":"./bar","baseURL":"https://example.com/foo/"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"b","baseURL":"https://example.com/foo/"}\] Inputs: [{"pathname":"./b","baseURL":"https://example.com/foo/"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"foo/bar"}\] Inputs: ["https://example.com/foo/bar"\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"foo/bar","baseURL":"https://example.com"}\] Inputs: ["https://example.com/foo/bar"\]]
- expected: FAIL
-
- [Pattern: [{"pathname":":name.html","baseURL":"https://example.com"}\] Inputs: ["https://example.com/foo.html"\]]
- expected: FAIL
-
- [Pattern: [{"search":"q=caf%C3%A9"}\] Inputs: [{"search":"q=café"}\]]
- expected: FAIL
-
- [Pattern: [{"search":"q=café"}\] Inputs: [{"search":"q=café"}\]]
- expected: FAIL
-
- [Pattern: [{"search":"q=caf%c3%a9"}\] Inputs: [{"search":"q=café"}\]]
- expected: FAIL
-
- [Pattern: [{"hash":"caf%C3%A9"}\] Inputs: [{"hash":"café"}\]]
- expected: FAIL
-
- [Pattern: [{"hash":"café"}\] Inputs: [{"hash":"café"}\]]
- expected: FAIL
-
- [Pattern: [{"hash":"caf%c3%a9"}\] Inputs: [{"hash":"café"}\]]
- expected: FAIL
-
- [Pattern: [{"protocol":"about","pathname":"(blank|sourcedoc)"}\] Inputs: ["about:blank"\]]
- expected: FAIL
-
- [Pattern: [{"protocol":"data","pathname":":number([0-9\]+)"}\] Inputs: ["data:8675309"\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo!"}\] Inputs: [{"pathname":"/foo!"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo\\\\:"}\] Inputs: [{"pathname":"/foo:"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo\\\\{"}\] Inputs: [{"pathname":"/foo{"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo\\\\("}\] Inputs: [{"pathname":"/foo("}\]]
- expected: FAIL
-
- [Pattern: [{"protocol":"javascript","pathname":"var x = 1;"}\] Inputs: [{"protocol":"javascript","pathname":"var x = 1;"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"var x = 1;"}\] Inputs: [{"protocol":"javascript","pathname":"var x = 1;"}\]]
- expected: FAIL
-
- [Pattern: [{"protocol":"javascript","pathname":"var x = 1;"}\] Inputs: [{"baseURL":"javascript:var x = 1;"}\]]
- expected: FAIL
-
- [Pattern: [{"protocol":"(data|javascript)","pathname":"var x = 1;"}\] Inputs: [{"protocol":"javascript","pathname":"var x = 1;"}\]]
- expected: FAIL
-
- [Pattern: [{"protocol":"(https|javascript)","pathname":"var x = 1;"}\] Inputs: [{"protocol":"javascript","pathname":"var x = 1;"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"var x = 1;"}\] Inputs: [{"pathname":"var x = 1;"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar"}\] Inputs: ["./foo/bar","https://example.com"\]]
- expected: FAIL
-
- [Pattern: ["https://example.com:8080/foo?bar#baz"\] Inputs: [{"pathname":"/foo","search":"bar","hash":"baz","baseURL":"https://example.com:8080"}\]]
- expected: FAIL
-
- [Pattern: ["/foo?bar#baz","https://example.com:8080"\] Inputs: [{"pathname":"/foo","search":"bar","hash":"baz","baseURL":"https://example.com:8080"}\]]
- expected: FAIL
-
- [Pattern: ["http{s}?://{*.}?example.com/:product/:endpoint"\] Inputs: ["https://sub.example.com/foo/bar"\]]
- expected: FAIL
-
- [Pattern: ["https://example.com?foo"\] Inputs: ["https://example.com/?foo"\]]
- expected: FAIL
-
- [Pattern: ["https://example.com#foo"\] Inputs: ["https://example.com/#foo"\]]
- expected: FAIL
-
- [Pattern: ["https://example.com:8080?foo"\] Inputs: ["https://example.com:8080/?foo"\]]
- expected: FAIL
-
- [Pattern: ["https://example.com:8080#foo"\] Inputs: ["https://example.com:8080/#foo"\]]
- expected: FAIL
-
- [Pattern: ["https://example.com/?foo"\] Inputs: ["https://example.com/?foo"\]]
- expected: FAIL
-
- [Pattern: ["https://example.com/#foo"\] Inputs: ["https://example.com/#foo"\]]
- expected: FAIL
-
- [Pattern: ["https://example.com/*?foo"\] Inputs: ["https://example.com/?foo"\]]
- expected: FAIL
-
- [Pattern: ["https://example.com/*\\\\?foo"\] Inputs: ["https://example.com/?foo"\]]
- expected: FAIL
-
- [Pattern: ["https://example.com/:name?foo"\] Inputs: ["https://example.com/bar?foo"\]]
- expected: FAIL
-
- [Pattern: ["https://example.com/:name\\\\?foo"\] Inputs: ["https://example.com/bar?foo"\]]
- expected: FAIL
-
- [Pattern: ["https://example.com/(bar)?foo"\] Inputs: ["https://example.com/bar?foo"\]]
- expected: FAIL
-
- [Pattern: ["https://example.com/(bar)\\\\?foo"\] Inputs: ["https://example.com/bar?foo"\]]
- expected: FAIL
-
- [Pattern: ["https://example.com/{bar}?foo"\] Inputs: ["https://example.com/bar?foo"\]]
- expected: FAIL
-
- [Pattern: ["https://example.com/{bar}\\\\?foo"\] Inputs: ["https://example.com/bar?foo"\]]
- expected: FAIL
-
- [Pattern: ["https://example.com/"\] Inputs: ["https://example.com:8080/"\]]
- expected: FAIL
-
- [Pattern: ["data\\\\:foobar"\] Inputs: ["data:foobar"\]]
- expected: FAIL
-
- [Pattern: ["https://{sub.}?example.com/foo"\] Inputs: ["https://example.com/foo"\]]
- expected: FAIL
-
- [Pattern: ["https://(sub.)?example.com/foo"\] Inputs: ["https://example.com/foo"\]]
- expected: FAIL
-
- [Pattern: ["https://(sub.)?example(.com/)foo"\] Inputs: ["https://example.com/foo"\]]
- expected: FAIL
-
- [Pattern: ["https://(sub(?:.))?example.com/foo"\] Inputs: ["https://example.com/foo"\]]
- expected: FAIL
-
- [Pattern: ["file:///foo/bar"\] Inputs: ["file:///foo/bar"\]]
- expected: FAIL
-
- [Pattern: ["data:"\] Inputs: ["data:"\]]
- expected: FAIL
-
- [Pattern: ["foo://bar"\] Inputs: ["foo://bad_url_browser_interop"\]]
- expected: FAIL
-
- [Pattern: ["https://example.com/foo?bar#baz"\] Inputs: [{"protocol":"https:","search":"?bar","hash":"#baz","baseURL":"http://example.com/foo"}\]]
- expected: FAIL
-
- [Pattern: [{"protocol":"http{s}?:","search":"?bar","hash":"#baz"}\] Inputs: ["http://example.com/foo?bar#baz"\]]
- expected: FAIL
-
- [Pattern: ["?bar#baz","https://example.com/foo"\] Inputs: ["?bar#baz","https://example.com/foo"\]]
- expected: FAIL
-
- [Pattern: ["?bar","https://example.com/foo#baz"\] Inputs: ["?bar","https://example.com/foo#snafu"\]]
- expected: FAIL
-
- [Pattern: ["#baz","https://example.com/foo?bar"\] Inputs: ["#baz","https://example.com/foo?bar"\]]
- expected: FAIL
-
- [Pattern: ["#baz","https://example.com/foo"\] Inputs: ["#baz","https://example.com/foo"\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"*"}\] Inputs: ["foo","data:data-urls-cannot-be-base-urls"\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"*"}\] Inputs: ["foo","not|a|valid|url"\]]
- expected: FAIL
-
- [Pattern: ["https://foo\\\\:bar@example.com"\] Inputs: ["https://foo:bar@example.com"\]]
- expected: FAIL
-
- [Pattern: ["https://foo@example.com"\] Inputs: ["https://foo@example.com"\]]
- expected: FAIL
-
- [Pattern: ["https://\\\\:bar@example.com"\] Inputs: ["https://:bar@example.com"\]]
- expected: FAIL
-
- [Pattern: ["https://:user::pass@example.com"\] Inputs: ["https://foo:bar@example.com"\]]
- expected: FAIL
-
- [Pattern: ["https\\\\:foo\\\\:bar@example.com"\] Inputs: ["https:foo:bar@example.com"\]]
- expected: FAIL
-
- [Pattern: ["data\\\\:foo\\\\:bar@example.com"\] Inputs: ["data:foo:bar@example.com"\]]
- expected: FAIL
-
- [Pattern: ["https://foo{\\\\:}bar@example.com"\] Inputs: ["https://foo:bar@example.com"\]]
- expected: FAIL
-
- [Pattern: ["data{\\\\:}channel.html","https://example.com"\] Inputs: ["https://example.com/data:channel.html"\]]
- expected: FAIL
-
- [Pattern: ["http://[\\\\:\\\\:1\]/"\] Inputs: ["http://[::1\]/"\]]
- expected: FAIL
-
- [Pattern: ["http://[\\\\:\\\\:1\]:8080/"\] Inputs: ["http://[::1\]:8080/"\]]
- expected: FAIL
-
- [Pattern: ["http://[\\\\:\\\\:a\]/"\] Inputs: ["http://[::a\]/"\]]
- expected: FAIL
-
- [Pattern: ["http://[:address\]/"\] Inputs: ["http://[::1\]/"\]]
- expected: FAIL
-
- [Pattern: ["http://[\\\\:\\\\:AB\\\\::num\]/"\] Inputs: ["http://[::ab:1\]/"\]]
- expected: FAIL
-
- [Pattern: [{"hostname":"[\\\\:\\\\:AB\\\\::num\]"}\] Inputs: [{"hostname":"[::ab:1\]"}\]]
- expected: FAIL
-
- [Pattern: [{"hostname":"{[\\\\:\\\\:ab\\\\::num\]}"}\] Inputs: [{"hostname":"[::ab:1\]"}\]]
- expected: FAIL
-
- [Pattern: [{"hostname":"{[\\\\:\\\\::num\\\\:1\]}"}\] Inputs: [{"hostname":"[::ab:1\]"}\]]
- expected: FAIL
-
- [Pattern: [{"hostname":"[*\\\\:1\]"}\] Inputs: [{"hostname":"[::ab:1\]"}\]]
- expected: FAIL
-
- [Pattern: ["data\\\\:text/javascript,let x = 100/:tens?5;"\] Inputs: ["data:text/javascript,let x = 100/5;"\]]
- expected: FAIL
-
- [Pattern: [{"pathname":":name*"}\] Inputs: [{"pathname":"foobar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":":name+"}\] Inputs: [{"pathname":"foobar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":":name"}\] Inputs: [{"pathname":"foobar"}\]]
- expected: FAIL
-
- [Pattern: [{"protocol":":name*"}\] Inputs: [{"protocol":"foobar"}\]]
- expected: FAIL
-
- [Pattern: [{"protocol":":name+"}\] Inputs: [{"protocol":"foobar"}\]]
- expected: FAIL
-
- [Pattern: [{"protocol":":name"}\] Inputs: [{"protocol":"foobar"}\]]
- expected: FAIL
-
[Pattern: [{"hostname":"bad#hostname"}\] Inputs: [{"hostname":"bad"}\]]
expected: FAIL
@@ -1714,147 +67,9 @@
[Pattern: [{"hostname":"bad\\thostname"}\] Inputs: [{"hostname":"badhostname"}\]]
expected: FAIL
- [Pattern: [{}\] Inputs: ["https://example.com/"\]]
- expected: FAIL
-
- [Pattern: [\] Inputs: ["https://example.com/"\]]
- expected: FAIL
-
- [Pattern: [\] Inputs: [{}\]]
- expected: FAIL
-
- [Pattern: [\] Inputs: [\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"(foo)(.*)"}\] Inputs: [{"pathname":"foobarbaz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"{(foo)bar}(.*)"}\] Inputs: [{"pathname":"foobarbaz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"(foo)?(.*)"}\] Inputs: [{"pathname":"foobarbaz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"{:foo}(.*)"}\] Inputs: [{"pathname":"foobarbaz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"{:foo}(barbaz)"}\] Inputs: [{"pathname":"foobarbaz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"{:foo}{(.*)}"}\] Inputs: [{"pathname":"foobarbaz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"{:foo}{(.*)bar}"}\] Inputs: [{"pathname":"foobarbaz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"{:foo}{bar(.*)}"}\] Inputs: [{"pathname":"foobarbaz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"{:foo}:bar(.*)"}\] Inputs: [{"pathname":"foobarbaz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"{:foo}?(.*)"}\] Inputs: [{"pathname":"foobarbaz"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"{:foo\\\\bar}"}\] Inputs: [{"pathname":"foobar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"{:foo\\\\.bar}"}\] Inputs: [{"pathname":"foo.bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"{:foo(foo)bar}"}\] Inputs: [{"pathname":"foobar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"{:foo}bar"}\] Inputs: [{"pathname":"foobar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":":foo\\\\bar"}\] Inputs: [{"pathname":"foobar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":":foo{}(.*)"}\] Inputs: [{"pathname":"foobar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":":foo{}bar"}\] Inputs: [{"pathname":"foobar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":":foo{}?bar"}\] Inputs: [{"pathname":"foobar"}\]]
- expected: FAIL
-
[Pattern: [{"pathname":"*{}**?"}\] Inputs: [{"pathname":"foobar"}\]]
expected: FAIL
- [Pattern: [{"pathname":":foo(baz)(.*)"}\] Inputs: [{"pathname":"bazbar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":":foo(baz)bar"}\] Inputs: [{"pathname":"bazbar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"*/*"}\] Inputs: [{"pathname":"foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"*\\\\/*"}\] Inputs: [{"pathname":"foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"*/{*}"}\] Inputs: [{"pathname":"foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"*//*"}\] Inputs: [{"pathname":"foo/bar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/:foo."}\] Inputs: [{"pathname":"/bar."}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/:foo.."}\] Inputs: [{"pathname":"/bar.."}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"./foo"}\] Inputs: [{"pathname":"./foo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"../foo"}\] Inputs: [{"pathname":"../foo"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":":foo./"}\] Inputs: [{"pathname":"bar./"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":":foo../"}\] Inputs: [{"pathname":"bar../"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/:foo\\\\bar"}\] Inputs: [{"pathname":"/bazbar"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/foo/bar"},{"ignoreCase":true}\] Inputs: [{"pathname":"/FOO/BAR"}\]]
- expected: FAIL
-
- [Pattern: [{"ignoreCase":true}\] Inputs: [{"pathname":"/FOO/BAR"}\]]
- expected: FAIL
-
- [Pattern: ["https://example.com:8080/foo?bar#baz",{"ignoreCase":true}\] Inputs: [{"pathname":"/FOO","search":"BAR","hash":"BAZ","baseURL":"https://example.com:8080"}\]]
- expected: FAIL
-
- [Pattern: ["/foo?bar#baz","https://example.com:8080",{"ignoreCase":true}\] Inputs: [{"pathname":"/FOO","search":"BAR","hash":"BAZ","baseURL":"https://example.com:8080"}\]]
- expected: FAIL
-
- [Pattern: [{"search":"foo","baseURL":"https://example.com/a/+/b"}\] Inputs: [{"search":"foo","baseURL":"https://example.com/a/+/b"}\]]
- expected: FAIL
-
- [Pattern: [{"hash":"foo","baseURL":"https://example.com/?q=*&v=?&hmm={}&umm=()"}\] Inputs: [{"hash":"foo","baseURL":"https://example.com/?q=*&v=?&hmm={}&umm=()"}\]]
- expected: FAIL
-
- [Pattern: ["#foo","https://example.com/?q=*&v=?&hmm={}&umm=()"\] Inputs: ["https://example.com/?q=*&v=?&hmm={}&umm=()#foo"\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/([[a-z\]--a\])"}\] Inputs: [{"pathname":"/a"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/([[a-z\]--a\])"}\] Inputs: [{"pathname":"/z"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/([\\\\d&&[0-1\]\])"}\] Inputs: [{"pathname":"/0"}\]]
- expected: FAIL
-
- [Pattern: [{"pathname":"/([\\\\d&&[0-1\]\])"}\] Inputs: [{"pathname":"/3"}\]]
- expected: FAIL
-
[Pattern: [{"port":"80"}\] Inputs: [{"port":"8\\t0"}\]]
expected: FAIL
@@ -1873,9 +88,6 @@
[Pattern: [{"hostname":"bad\\\\:hostname"}\] Inputs: undefined]
expected: FAIL
- [Pattern: [{"pathname":"/foo","baseURL":""}\] Inputs: undefined]
- expected: FAIL
-
[urlpattern.https.any.serviceworker.html]
expected: ERROR
diff --git a/tests/wpt/mozilla/meta/__dir__.ini b/tests/wpt/mozilla/meta/__dir__.ini
index 6f2a65cc7ec..f631a2a10f7 100644
--- a/tests/wpt/mozilla/meta/__dir__.ini
+++ b/tests/wpt/mozilla/meta/__dir__.ini
@@ -10,6 +10,5 @@ prefs: [
"dom_testbinding_preference_value_string_empty:",
"dom_testbinding_preference_value_string_test:test",
"dom_testbinding_preference_value_truthy:true",
- "dom_urlpattern_enabled:true",
"media_testing_enabled:true",
]