You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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/40063064Maybe this should use https://www.npmjs.com/package/whatwg-url instead of the native implementation?
The text was updated successfully, but these errors were encountered: