Re: [whatwg/url] Make URL's origin getter return null for file URLs (#506)

I'd rather not introduce a novel origin value. Remember that web content cannot observe the specialness of `file:` URLs. Only when you navigate to a `file:` URL you might be able to "appreciate" its rather unique origin behavior. However, I think we should optimize for websites playing with `file:` URLs and give the same kind of answer they would get for unrecognized schemes.

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

Message ID: <whatwg/url/issues/506/1384323109@github.com>

Received on Monday, 16 January 2023 16:56:06 UTC