Re: [whatwg/url] Define the "extract an origin" operation. (PR #892)

mikewest left a comment (whatwg/url#892)

> You can't create new content in WPT `/interfaces/`. That directory is managed automatically. It should probably be tested as part of other `html.idl` APIs, though perhaps it can be split, but it'll have to load `html.idl`.

You're right, I didn't think about this when we moved `Origin` into HTML. I'll fix it up once the file's updated (https://github.com/w3c/webref/blob/main/ed/idl/html.idl is up to date, but hasn't been pulled in yet...).

> It seems like we don't have tests for `<a>` and `<area>` without `href` attributes. From a quick skim I suspect this might not be implemented correctly.

I can add those, thanks for the suggestion!

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

Message ID: <whatwg/url/pull/892/c3615488266@github.com>

Received on Friday, 5 December 2025 06:27:51 UTC