Closed Bug 2002039 Opened 1 year ago Closed 11 months ago

[wpt-sync] Sync PR 56226 - [Origin API] Drop `Location` and `WorkerLocation` conversions.

Categories

(Core :: DOM: Core & HTML, task, P4)

task

Tracking

()

RESOLVED FIXED
147 Branch
Tracking Status
firefox147 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 56226 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/56226
Details from upstream follow.

Mike West <mkwst@chromium.org> wrote:

[Origin API] Drop Location and WorkerLocation conversions.

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/7186344
WPT-Export-Revision: 73cf1272435e4656ff9ec0678a843b6a4cf3451c

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core

CI Results

Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests and 2 subtests

Status Summary

Firefox

OK : 1
FAIL: 2

Chrome

OK : 1
PASS: 1
FAIL: 1

Safari

OK : 1
FAIL: 2

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Status: NEW → RESOLVED
Closed: 11 months ago
Resolution: --- → FIXED
Target Milestone: --- → 147 Branch
You need to log in before you can comment on or make changes to this bug.