Closed Bug 1896798 Opened 5 months ago Closed 3 months ago

[wpt-sync] Sync PR 46271 - Add allow unload=* to allowlist for frameset frames.

Categories

(Core :: DOM: Security, task, P4)

task

Tracking

()

RESOLVED FIXED
129 Branch
Tracking Status
firefox129 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Fergal Daly <fergal@chromium.org> wrote:

Add allow unload=* to allowlist for frameset frames.

With unload deprecation, it becomes impossible to use unload in
\<frame>s because there is no way to set an allow attribute on
them. This change adds an unload=* to their allowlist, meaning that
unload will be allowed if it's allowed in the parent and the child
sets the correct Permissions-Policy header.

Bug: 40286851
Change-Id: I593786ae88683986c740800848de7bfa6a364dd3
Reviewed-on: https://chromium-review.googlesource.com/5540810
WPT-Export-Revision: 72e6111af5c468739f06597926f82194255555e0

Component: web-platform-tests → DOM: Security
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]

CI Results

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

Total 6 tests and 1 subtests

Status Summary

Firefox

OK : 6
FAIL : 6

Chrome

OK : 6
PASS : 3
FAIL : 3

Safari

OK : 2
FAIL : 2
TIMEOUT: 8

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/efd72733a364 [wpt PR 46271] - Add allow unload=* to allowlist for some non-iframe frames., a=testonly https://hg.mozilla.org/integration/autoland/rev/f193e0bc3971 [wpt PR 46271] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 129 Branch
You need to log in before you can comment on or make changes to this bug.