Baseline Widely DOM API
api.URL.URL
Granular MDN Browser Compat Data support history across 16 tracked browsers.
Specification Area
DOM API
Standard track
First Core Launch
Chrome 19
2012-05-15
Core-3 Stability
3,268d (8.9y)
Last: Safari (2021-04-26)
Baseline Feature
Widely
URL
Browser Support Timeline
Notes (5)
Firefox, FF And: Before version 122,host, hostname, and port were not parsed for unknown protocols/schemes.Safari: Before Safari 14.1, calling the URL constructor with a base URL whose value is undefined caused Safari to throw a TypeError, see bug 216841.Edge: Before Edge 79, query arguments in the base URL argument are removed when calling the URL constructor.Saf iOS: Before Safari on iOS 14.1, calling the URL constructor with a base URL whose value is undefined caused Safari on iOS to throw a TypeError, see bug 216841.WV iOS: Before WebView on iOS 14.1, calling the URL constructor with a base URL whose value is undefined caused WebView on iOS to throw a TypeError, see bug 216841.Full Browser Compatibility Table
| Browser | Type | Version | Release Date | Status / Caveats |
|---|---|---|---|---|
| Chrome | desktop | 19 | 2012-05-15 | Supported |
| Firefox | desktop | 26 | 2013-12-10 | Supported |
| Safari | desktop | 14.1 | 2021-04-26 | Supported |
| Edge | desktop | 12 | 2015-07-29 | Supported |
| Chrome Android | mobile | 25 | 2013-02-27 | Supported |
| Firefox for Android | mobile | 26 | 2013-12-10 | Supported |
| Safari on iOS | mobile | 14.5 | 2021-04-26 | Supported |
| WebView Android | mobile | 4.4 | 2013-12-09 | Supported |
| WebView on iOS | mobile | 14.5 | 2021-04-26 | Supported |
| Samsung Browser | mobile | 1.5 | 2013-09-25 | Supported |
| Opera | desktop | 15 | 2013-07-02 | Supported |
| Opera Android | mobile | 14 | 2013-05-21 | Supported |
| Deno | server | 1.0 | 2020-05-13 | Supported |
| Node.js | server | 6.13.0 | 2018-02-13 | Supported |
| Bun | server | 1.0.0 | 2023-09-08 | Supported |
| Quest Browser | xr | 5.0 | 2018-07-01 | Supported |
| Internet Explorer | desktop | — | — | — |