Closed Bug 2055715 Opened 4 months ago Closed 3 months ago

[wpt-sync] Sync PR 61344 - [iframe] Support `allowed-origin` attribute

Categories

(Core :: Layout, task, P4)

task

Tracking

()

RESOLVED FIXED
155 Branch
Tracking Status
firefox155 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

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

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

Koji Ishii <kojii@chromium.org> wrote:

[iframe] Support allowed-origin attribute

This patch support the allowed-origin attribute of the
\<meta> element for responsively-sized iframes. The addition
of this attribute is discussed with the security team, and is
currently being discussed at WHATWG1.

This attribute has the same syntax as CSP frame-ancestors,
and that it reuses the underlying logic. It restricts the
effect of responsive-embedded-sizing meta tag by the origin
of the container.

All the changes are under an experimental runtime flag.

Bug: 418397278
Change-Id: I2af4c4d4e80e1a3efb8b52ad512f1493157d01b8
Reviewed-on: https://chromium-review.googlesource.com/8084061
WPT-Export-Revision: 862b51a0ad42a514c71799b8adc5b0134b196ce6

Component: web-platform-tests → Layout
Product: Testing → Core
Status: NEW → RESOLVED
Closed: 4 months ago
Resolution: --- → INVALID
Status: RESOLVED → REOPENED
Resolution: INVALID → ---

CI Results

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

Total 54 tests and 1 subtests

Status Summary

Firefox

OK : 34[GitHub] 37[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS : 12[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 17[GitHub] 19[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL : 31[GitHub] 34[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 43[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
TIMEOUT: 1
ERROR : 1

Chrome

OK : 35
PASS : 38
FAIL : 11

Safari

OK : 32
PASS : 17
FAIL : 29
TIMEOUT: 1
ERROR : 3

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

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