Re: [whatwg/url] URL.relative proposal (#421)

> That means special-case behaviour for something unexpected.

It's `URL.relative` not `path.relative`, I don't think it's unexpected at all that `URL.relative('https://foo.bar/#qux', 'https://foo.bar/boz')` is `./#qux` given that `new URL('./#qux', 'https://foo.bar/boz')` is `https://foo.bar/#qux`.

-- 
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/421#issuecomment-514062621

Received on Tuesday, 23 July 2019 05:44:52 UTC