Baseline Widely other

URL.canParse()

The URL.canParse() static method checks whether a URL can be parsed into a valid URL object. It's an alternative to calling new URL() in a try … catch statement.

Baseline Status
Widely Available
Since 2023-12-07
First Core Launch
Firefox 115
2023-07-04
Core-3 Stability
154d
Last: Chrome (2023-12-05)
BCD Keys Mapped
1
Group: other

Browser Support Timeline

Firefox v115 (2023-07-04) Firefox for Android v115 (2023-07-04) Safari v17 (2023-09-18) Safari on iOS v17 (2023-09-18) Chrome v120 (2023-12-05) Chrome Android v120 (2023-12-05) Edge v120 (2023-12-07)
Green dot marks the first browser release (2023-07-04); blue dots show subsequent browser launches (+156d total span).

Browser Support Releases

BrowserTypeVersionRelease Date
Firefox desktop 115 2023-07-04
Firefox for Android mobile 115 2023-07-04
Safari desktop 17 2023-09-18
Safari on iOS mobile 17 2023-09-18
Chrome desktop 120 2023-12-05
Chrome Android mobile 120 2023-12-05
Edge desktop 120 2023-12-07

Constituent MDN BCD Keys (Sample)

BCD KeyAreaCore-3 TTA
api.URL.canParse_static DOM API 154d