[wpt-sync] Sync PR 56226 - [Origin API] Drop `Location` and `WorkerLocation` conversions.
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
| 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
LocationandWorkerLocationconversions.After discussion with Anne in 1, it makes sense to drop conversions
fromLocationandWorkerLocationobjects viaOrigin.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
rightOriginrepresentation going forward.Bug: 434131026
Change-Id: Ie8101ac9743767a32c109b83bdc82c9bb715d3b3
Reviewed-on: https://chromium-review.googlesource.com/7186344
WPT-Export-Revision: 73cf1272435e4656ff9ec0678a843b6a4cf3451c
| Assignee | ||
Updated•1 year ago
|
| Assignee | ||
Comment 1•1 year ago
|
||
| Assignee | ||
Comment 2•1 year ago
|
||
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
Details
New Tests That Don't Pass
- /html/browsers/origin/tentative/api/origin-from-location.window.html [wpt.fyi]
- Origin.from(window.location) throws.:
FAIL(Chrome:FAIL, Safari:FAIL) - Origin.from(Location) throws for cross-origin frames.:
FAIL(Chrome:PASS, Safari:FAIL)
- Origin.from(window.location) throws.:
Comment 4•11 months ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/0d39d682306b
https://hg.mozilla.org/mozilla-central/rev/8a8b12ca61c3
Description
•