Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Define an inherited policy for feature in container at origin #501

Merged
merged 3 commits into from
Jan 9, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 9 additions & 6 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -920,12 +920,15 @@ partial interface HTMLIFrameElement {
(|origin|), this algorithm returns the <a>inherited policy</a> for that
feature.
1. Let |policy| be |container|'s <a>node document</a>'s <a>Permissions
Policy</a>
1. If |policy|'s <a>inherited policy</a> for |feature| is
"<code>Disabled</code>", return "<code>Disabled</code>".
1. If |feature| is present in |policy|'s <a>declared policy</a>, and the
<a>allowlist</a> for |feature| in |policy|'s <a>declared policy</a> does
not <a>match</a> |origin|, then return "<code>Disabled</code>".
Policy</a>.
1. If the result of executing <a abstract-op>Is feature
enabled in document for origin?</a> on |feature|, |container|'s
<a>node document</a>, and |container|'s <a>node document</a>''s origin
is "<code>Disabled</code>", return "<code>Disabled</code>".
1. If the result of executing <a abstract-op>Is feature
enabled in document for origin?</a> on |feature|, |container|'s
<a>node document</a>, and |origin| is "<code>Disabled</code>",
return "<code>Disabled</code>".
1. Let |container policy| be the result of running <a abstract-op>Process
permissions policy attributes</a> on |container|.
1. If |feature| is a key in |container policy|:
Expand Down