Re: [whatwg/url] Allow `//` when base exists (#553)

I suspect this doesn't work because `//` is an incomplete, invalid form of a scheme-relative URL. To use a complete scheme-relative URL you need to do `//foo` or similar. Then it will work:

```js
(new URL('//foo', 'http://localhost:3000')).href

// => "http://foo/"
```

-- 
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/553#issuecomment-706558311

Received on Saturday, 10 October 2020 14:31:30 UTC