[whatwg/url] Drive letters get duplicated when resolving Windows file: URL with base (#303)

It seems like it's impossible to resolve a Windows file:/// URI with a base.

Expected (as implemented Chrome):
```js
new URL('/c:/foo/bar', 'file:///c:/baz/qux').href
"file:///C:/foo/bar"
```

Actual (as implemented in jsdom/whatwg-url, NodeJS 7, Edge):
```js
new URL('/c:/foo/bar', 'file:///c:/baz/qux').href
'file:///c:/c:/foo/bar'
```

-- 
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/303

Received on Friday, 28 April 2017 16:24:46 UTC