github web-platform-tests/wpt merge_pr_46271

latest releases: merge_pr_49470, epochs/three_hourly/2024-12-03_06H, epochs/six_hourly/2024-12-03_06H...
15 months ago

Add allow unload=* to allowlist for some non-iframe frames.

With unload deprecation, it becomes impossible to use unload in
<frame>, <embed> and <object> 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 both

  • it's allowed in the parent
  • the child sets the correct Permissions-Policy header

The unload feature has has no effect unless unload deprecation is enabled.

See https://github.com/fergald/docs/blob/master/explainers/permissions-policy-deprecate-unload.md#proposed-solution

Bug: 40286851
Change-Id: I593786ae88683986c740800848de7bfa6a364dd3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5540810
Commit-Queue: Fergal Daly fergal@chromium.org
Reviewed-by: Kentaro Hara haraken@chromium.org
Reviewed-by: Ian Clelland iclelland@chromium.org
Cr-Commit-Position: refs/heads/main@{#1317725}

Don't miss a new wpt release

NewReleases is sending notifications on new releases.