[wpt-sync] Sync PR 61344 - [iframe] Support `allowed-origin` attribute
Categories
(Core :: Layout, task, P4)
Tracking
()
| 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-originattributeThis patch support the
allowed-originattribute 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 ofresponsive-embedded-sizingmeta 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
| Assignee | ||
Updated•4 months ago
|
| Assignee | ||
Updated•4 months ago
|
| Assignee | ||
Updated•4 months ago
|
| Assignee | ||
Comment 1•3 months ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=355049c12fac149d3e11b51fa423875c82ef8bd0
| Assignee | ||
Comment 2•3 months ago
|
||
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
- /css/css-sizing/responsive-iframe/responsive-iframe-cross-origin.sub.html [wpt.fyi]:
FAIL(Chrome:PASS, Safari:FAIL) - /css/css-sizing/responsive-iframe/responsive-iframe-meta-after-head.html [wpt.fyi]:
FAIL(Chrome:PASS, Safari:FAIL) - /css/css-sizing/responsive-iframe/responsive-iframe-meta-dynamic-append-to-doc.html [wpt.fyi]:
FAIL(Chrome:PASS, Safari:FAIL) - /css/css-sizing/responsive-iframe/responsive-iframe-meta-dynamic-append.html [wpt.fyi]:
FAIL(Chrome:PASS, Safari:FAIL) - /css/css-sizing/responsive-iframe/responsive-iframe-meta-dynamic-name-change.html [wpt.fyi]:
FAIL(Chrome:PASS, Safari:FAIL) - /css/css-sizing/responsive-iframe/responsive-iframe-meta-dynamic-remove.html [wpt.fyi]:
FAIL(Chrome:PASS, Safari:FAIL) - /css/css-sizing/responsive-iframe/responsive-iframe-meta-dynamic-write.html [wpt.fyi]:
FAIL(Chrome:PASS, Safari:FAIL) - /css/css-sizing/responsive-iframe/responsive-iframe-request-resize.html [wpt.fyi]:
FAIL(Chrome:PASS, Safari:FAIL) - /css/css-sizing/responsive-iframe/responsive-iframe.html [wpt.fyi]:
FAIL(Chrome:PASS, Safari:FAIL) - /css/css-sizing/responsive-iframe/parsing/frame-sizing-computed.html [wpt.fyi]
- Property frame-sizing value 'auto':
FAIL - Property frame-sizing value 'content-width':
FAIL - Property frame-sizing value 'content-height':
FAIL - Property frame-sizing value 'content-inline-size':
FAIL - Property frame-sizing value 'content-block-size':
FAIL
- Property frame-sizing value 'auto':
- /css/css-sizing/responsive-iframe/parsing/frame-sizing-valid.html [wpt.fyi]
- e.style['frame-sizing'] = "auto" should set the property value:
FAIL - e.style['frame-sizing'] = "content-width" should set the property value:
FAIL - e.style['frame-sizing'] = "content-height" should set the property value:
FAIL - e.style['frame-sizing'] = "content-inline-size" should set the property value:
FAIL - e.style['frame-sizing'] = "content-block-size" should set the property value:
FAIL
- e.style['frame-sizing'] = "auto" should set the property value:
- /css/css-sizing/responsive-iframe/responsive-iframe-allowed-origins.html?origin=cross,allowed=parent,expect=400 [wpt.fyi]
- Allowed origins check: container=parent, origin=cross, allowed=parent:
FAIL(Chrome:PASS, Safari:FAIL)
- Allowed origins check: container=parent, origin=cross, allowed=parent:
- /css/css-sizing/responsive-iframe/responsive-iframe-allowed-origins.html?origin=subdomain,allowed=parent,expect=400 [wpt.fyi]
- Allowed origins check: container=parent, origin=subdomain, allowed=parent:
FAIL(Chrome:PASS, Safari:FAIL)
- Allowed origins check: container=parent, origin=subdomain, allowed=parent:
- /css/css-sizing/responsive-iframe/responsive-iframe-allowed-origins.html?container=subdomain,origin=same,allowed=wildcard,expect=400 [wpt.fyi]
- Allowed origins check: container=subdomain, origin=same, allowed=wildcard:
FAIL(Chrome:PASS)
- Allowed origins check: container=subdomain, origin=same, allowed=wildcard:
- /css/css-sizing/responsive-iframe/responsive-iframe-allowed-origins.html?origin=same,allowed=parent,expect=400 [wpt.fyi]
- Allowed origins check: container=parent, origin=same, allowed=parent:
FAIL(Chrome:PASS, Safari:FAIL)
- Allowed origins check: container=parent, origin=same, allowed=parent:
- /css/css-sizing/responsive-iframe/responsive-iframe-allowed-origins.html?container=subdomain,origin=cross,allowed=wildcard,expect=400 [wpt.fyi]
- Allowed origins check: container=subdomain, origin=cross, allowed=wildcard:
FAIL(Chrome:PASS)
- Allowed origins check: container=subdomain, origin=cross, allowed=wildcard:
- /css/css-sizing/responsive-iframe/responsive-iframe-allowed-origins.html?origin=same,allowed=http,expect=400 [wpt.fyi]
- Allowed origins check: container=parent, origin=same, allowed=http:
FAIL(Chrome:PASS, Safari:FAIL)
- Allowed origins check: container=parent, origin=same, allowed=http:
- /css/css-sizing/responsive-iframe/responsive-iframe-allowed-origins.html?origin=cross,allowed=star,expect=400 [wpt.fyi]
- Allowed origins check: container=parent, origin=cross, allowed=star:
FAIL(Chrome:PASS, Safari:FAIL)
- Allowed origins check: container=parent, origin=cross, allowed=star:
- /css/css-sizing/responsive-iframe/responsive-iframe-allowed-origins.html?origin=same,allowed=multiple,expect=400 [wpt.fyi]
- Allowed origins check: container=parent, origin=same, allowed=multiple:
FAIL(Chrome:PASS, Safari:FAIL)
- Allowed origins check: container=parent, origin=same, allowed=multiple:
- /css/css-sizing/responsive-iframe/responsive-iframe-allowed-origins.html?origin=same,allowed=star,expect=400 [wpt.fyi]
- Allowed origins check: container=parent, origin=same, allowed=star:
FAIL(Chrome:PASS, Safari:FAIL)
- Allowed origins check: container=parent, origin=same, allowed=star:
- /css/css-sizing/responsive-iframe/responsive-iframe-allowed-origins.html?origin=subdomain,allowed=star,expect=400 [wpt.fyi]
- Allowed origins check: container=parent, origin=subdomain, allowed=star:
FAIL(Chrome:PASS, Safari:FAIL)
- Allowed origins check: container=parent, origin=subdomain, allowed=star:
- /css/css-sizing/responsive-iframe/responsive-iframe-allowed-origins.html?origin=same,allowed=self,expect=400 [wpt.fyi]
- Allowed origins check: container=parent, origin=same, allowed=self:
FAIL(Chrome:PASS, Safari:FAIL)
- Allowed origins check: container=parent, origin=same, allowed=self:
- /css/css-sizing/responsive-iframe/responsive-iframe-dom-content-loaded.html [wpt.fyi]:
ERROR(Chrome:OK, Safari:ERROR)DOMContentLoadedtriggers resizing:TIMEOUT(Chrome:PASS, Safari:TIMEOUT)
- /css/css-sizing/responsive-iframe/responsive-iframe-icb.html [wpt.fyi]
- IFRAME content should use the initial ICB to measure the natural size:
FAIL(Chrome:PASS, Safari:FAIL)
- IFRAME content should use the initial ICB to measure the natural size:
- /css/css-sizing/responsive-iframe/responsive-iframe-navigation-unsized.html?origin=same [wpt.fyi]
- Responsive iframe clears size during navigation to non-responsive page:
FAIL(Chrome:PASS, Safari:FAIL)
- Responsive iframe clears size during navigation to non-responsive page:
- /css/css-sizing/responsive-iframe/responsive-iframe-navigation-unsized.html?origin=cross [wpt.fyi]
- Responsive iframe clears size during navigation to non-responsive page:
FAIL(Chrome:PASS, Safari:FAIL)
- Responsive iframe clears size during navigation to non-responsive page:
- /css/css-sizing/responsive-iframe/responsive-iframe-navigation.html?origin=same [wpt.fyi]
- Responsive iframe preserves size during navigation:
FAIL(Chrome:PASS, Safari:FAIL)
- Responsive iframe preserves size during navigation:
- /css/css-sizing/responsive-iframe/responsive-iframe-navigation.html?origin=cross [wpt.fyi]
- Responsive iframe preserves size during navigation:
FAIL(Chrome:PASS, Safari:FAIL)
- Responsive iframe preserves size during navigation:
- /css/css-sizing/responsive-iframe/responsive-iframe-request-resize-error.html [wpt.fyi]
window.requestResize()from the parent frame throws DOM NotAllowedError:FAILwindow.requestResize()from iframe withoutresponsive-embedded-sizingmeta tag throws DOM NotAllowedError:FAIL
- /css/css-sizing/responsive-iframe/responsive-iframe-value.html?value=content-inline-size,400,150 [wpt.fyi]
- Measure target with value=content-inline-size and wm=undefined:
FAIL(Chrome:PASS, Safari:FAIL)
- Measure target with value=content-inline-size and wm=undefined:
- /css/css-sizing/responsive-iframe/responsive-iframe-value.html?value=content-width,400,150 [wpt.fyi]
- Measure target with value=content-width and wm=undefined:
FAIL(Chrome:PASS, Safari:FAIL)
- Measure target with value=content-width and wm=undefined:
- /css/css-sizing/responsive-iframe/responsive-iframe-value.html?value=content-inline-size,300,200,vertical-rl [wpt.fyi]
- Measure target with value=content-inline-size and wm=vertical-rl:
FAIL(Chrome:PASS, Safari:FAIL)
- Measure target with value=content-inline-size and wm=vertical-rl:
- /css/css-sizing/responsive-iframe/responsive-iframe-value.html?value=content-height,300,200 [wpt.fyi]
- Measure target with value=content-height and wm=undefined:
FAIL(Chrome:PASS, Safari:FAIL)
- Measure target with value=content-height and wm=undefined:
- /css/css-sizing/responsive-iframe/responsive-iframe-value.html?value=content-block-size,400,150,vertical-rl [wpt.fyi]
- Measure target with value=content-block-size and wm=vertical-rl:
FAIL(Chrome:PASS, Safari:FAIL)
- Measure target with value=content-block-size and wm=vertical-rl:
- /css/css-sizing/responsive-iframe/responsive-iframe-value.html?value=content-block-size,300,200 [wpt.fyi]
- Measure target with value=content-block-size and wm=undefined:
FAIL(Chrome:PASS, Safari:FAIL)
- Measure target with value=content-block-size and wm=undefined:
Comment 4•3 months ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/3e75bf2feb9e
https://hg.mozilla.org/mozilla-central/rev/2b49f2a5d1de
Description
•