Chrome: > new URL('').origin 'null' Firefox: > new URL('') [Exception "An invalid or illegal string was specified"] Why do we spec again?
-
-
@mathias@passy as that cannot resolve without a base URL, seems that@ErikArvidsson made a mistake when implementing. -
@annevk@mathias@ErikArvidsson Unknown protocols are also handled differently > new URL('unicorn://').protocol Cr: undefined FF: 'unicorn:' - 2 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
JavaScript, HTML, CSS, HTTP, performance, security, Bash, Unicode, i18n, macOS.