Closed
Description
URL parsing relies on the native URL
implementation, which is buggy.
So new URLPattern({hostname:'example.com'}).test("foo://example.com")
returns false in Chrome when using this polyfill. The root cause seems to be a noncompliant URL implementation: https://issues.chromium.org/issues/40063064
Maybe this should use https://www.npmjs.com/package/whatwg-url instead of the native implementation?
Metadata
Metadata
Assignees
Labels
No labels