Skip to content

Conversation

@chromium-wpt-export-bot
Copy link
Collaborator

@chromium-wpt-export-bot chromium-wpt-export-bot commented Nov 24, 2025

After discussion with Anne in 1, it makes sense to drop conversions
from Location and WorkerLocation objects via Origin.from(). Those
can meaningfully differ from the origin of the context to which they
belong due to sandboxing, and we should encourage developers to use the
right Origin representation going forward.

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

After discussion with Anne in [1], it makes sense to drop conversions
from `Location` and `WorkerLocation` objects via `Origin.from()`. Those
can meaningfully differ from the origin of the context to which they
belong due to sandboxing, and we should encourage developers to use the
right `Origin` representation going forward.

[1]: whatwg/html#11846 (comment)

Bug: 434131026
Change-Id: Ie8101ac9743767a32c109b83bdc82c9bb715d3b3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7186344
Reviewed-by: Antonio Sartori <[email protected]>
Commit-Queue: Mike West <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1549657}
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 a4373b8 into master Nov 25, 2025
26 checks passed
@chromium-wpt-export-bot chromium-wpt-export-bot deleted the chromium-export-cl-7186344 branch November 25, 2025 12:12
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.

4 participants