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

@annevk commented on this pull request.



> @@ -3495,6 +3495,11 @@ null-or-<a>scalar value string</a> <var>base</var> (default null), and then runs
 </ol>
 </div>
 
+<div algorithm="URL/extract an origin">
+<p>Objects implementing the {{URL}} interface's <a for="platform object">extract an origin</a> steps are
+to return <a>this</a>'s <a for=URL>URL</a>'s <a for=url>origin</a>. [[!HTML]]

Yeah, we should test that and I think it should return false indeed.

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

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

Received on Tuesday, 9 December 2025 06:21:43 UTC