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

Yes, I wanted to do that but has gotten some pushback on the chromium CL https://chromium-review.googlesource.com/c/chromium/src/+/3734856?tab=comments

So I think either we `file:` URLs an opaque origin, or we keep it an exercise for the readers in the spec but explicitly says that file URLs should serialize to `"null"`.  If the spec says so, then it may be easier to persuade Chromium reviewers.

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

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

Received on Friday, 16 December 2022 15:03:24 UTC