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
Browser Support Releases
| Browser | Type | Version | Release 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 Key | Area | Core-3 TTA |
|---|---|---|
| api.URL.canParse_static | DOM API | 154d |