Skip to content

Conversation

@chromium-wpt-export-bot
Copy link
Collaborator

Earlier versions of this API parsed strings into Origin objects via
the constructor, fromURL() and parse(). We've since coalesced all of
these into Origin.from(...) after discussion in 1.

This CL removes these variants from our implementation, and adjusts
tests accordingly.

Bug: 434131026
Change-Id: I8be1e1a0923b2cd48dcc7a0f80358237ecc9b88c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7204253
Commit-Queue: Mike West <[email protected]>
Reviewed-by: Antonio Sartori <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1550470}

Earlier versions of this API parsed strings into `Origin` objects via
the constructor, `fromURL()` and `parse()`. We've since coalesced all of
these into `Origin.from(...)` after discussion in [1].

This CL removes these variants from our implementation, and adjusts
tests accordingly.

[1]: whatwg/html#11846

Bug: 434131026
Change-Id: I8be1e1a0923b2cd48dcc7a0f80358237ecc9b88c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7204253
Commit-Queue: Mike West <[email protected]>
Reviewed-by: Antonio Sartori <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1550470}
Copy link
Collaborator

@wpt-pr-bot wpt-pr-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The review process for this patch is being conducted in the Chromium project.

@chromium-wpt-export-bot chromium-wpt-export-bot merged commit 9aa13c3 into master Nov 26, 2025
26 checks passed
@chromium-wpt-export-bot chromium-wpt-export-bot deleted the chromium-export-df26b82a60 branch November 26, 2025 19:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants