Re: [whatwg/url] What should `new URL("#")` return? (#539)

We should add a test for this. Chrome and Safari are wrong, but they might have matched an earlier version of the standard that mistakenly used about:blank as the default base URL: c2980ee398de9621b0c313e5cc522895227db24c. Although that would not explain `new URL("?")` throwing and `new URL("about:blank?")` not throwing, so they are probably just buggy.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/url/issues/539#issuecomment-685864837

Received on Wednesday, 2 September 2020 16:53:47 UTC