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.
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}