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
I apologize if my previous comment may have oversimplified the comparison. This new API method in the URL interface can check whether a given URL (both absolute and relative) can be parsed and is valid. I am unsure if using is-relative-url and is-absolute-url might still be a simpler and more efficient choice.
https://developer.mozilla.org/en-US/docs/Web/API/URL/canParse_static does basically the same thing
The text was updated successfully, but these errors were encountered: