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

Fixes based on build warnings #498

Merged
merged 4 commits into from
Jan 10, 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
18 changes: 9 additions & 9 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Markup Shorthands: css no, markdown yes
</pre>
<pre class="link-defaults">
spec:dom; type:interface; for:/; text:Document
spec:html; type:dfn; for:/; text:origin
spec:url; type:dfn; for:url; text:origin
spec:fetch; type:dfn; for:Response; text:response
spec:html; type:dfn; for:/; text:browsing context
spec:html; type:element; text:script
Expand Down Expand Up @@ -308,8 +308,8 @@ spec: HEADER-STRUCTURE; urlPrefix: https://httpwg.org/http-extensions/draft-ietf
<section>
<h3 id="default-allowlists">Default Allowlists</h3>
<p>Every <a>policy-controlled feature</a> has a <dfn export lt=
"default allowlist|default allowlists">default allowlist</dfn>. The
<a>default allowlist</a> determines whether the feature is allowed in a
"default allowlist|default allowlists" for="policy-controlled feature">default allowlist</dfn>.
The <a>default allowlist</a> determines whether the feature is allowed in a
document with no declared policy in a top-level browsing context, and also
whether access to the feature is automatically delegated to documents in
child browsing contexts.</p>
Expand All @@ -335,7 +335,7 @@ spec: HEADER-STRUCTURE; urlPrefix: https://httpwg.org/http-extensions/draft-ietf
<p><a>Policy Directives</a> in HTML attributes are represented as their
ASCII serialization, with the following ABNF:
<pre class="abnf">
<dfn>serialized-permissions-policy</dfn> = <a>serialized-policy-directive</a> *(";" <a>serialized-policy-directive</a>)
<dfn noexport>serialized-permissions-policy</dfn> = <a>serialized-policy-directive</a> *(";" <a>serialized-policy-directive</a>)
<dfn>serialized-policy-directive</dfn> = <a>feature-identifier</a> RWS <a>allow-list</a>
<dfn>feature-identifier</dfn> = 1*( ALPHA / DIGIT / "-")
<dfn>allow-list</dfn> = <a>allow-list-value</a> *(RWS <a>allow-list-value</a>)
Expand Down Expand Up @@ -386,7 +386,7 @@ spec: HEADER-STRUCTURE; urlPrefix: https://httpwg.org/http-extensions/draft-ietf
HTTP header field can be used in the [=response=] (server to client) to
communicate the <a>permissions policy</a> that should be enforced by the
client.</p>
<p><a>Permissions-Policy</a> is a structured header. Its value must be a
<p><a http-header>Permissions-Policy</a> is a structured header. Its value must be a
dictionary. It's ABNF is:
<pre class="abnf">
PermissionsPolicy = <a>sh-dictionary</a>
Expand Down Expand Up @@ -842,7 +842,7 @@ partial interface HTMLIFrameElement {
<div class="algorithm" data-algorithm="process-policy-attributes">
Given an element (|element|), this algorithm returns a <a>container
policy</a>, which may be empty.
1. Let |container policy| be the result of running <a>Parse policy
1. Let |container policy| be the result of running <a abstract-op>Parse policy
directive</a> on the value of |element|'s <code>allow</code> attribute,
with <var ignore>container origin</var> set to the origin of |element|'s
node document, and <var ignore>target origin</var> set to |element|'s
Expand All @@ -851,7 +851,7 @@ partial interface HTMLIFrameElement {
1. If |element|'s <code>allowfullscreen</code> attribute is specified,
and |container policy| does not contain an allowlist for
<code>fullscreen</code>:
1. Construct a new declaration for <code>fullscreen</code>, whose
1. Let |declaration| be a new declaration for <code>fullscreen</code>, whose
allowlist is <a>the special value <code>*</code></a>.
1. Add |declaration| to |container policy|.
1. Return |container policy|.
Expand Down Expand Up @@ -999,7 +999,7 @@ partial interface HTMLIFrameElement {

1. If |group| is omitted, set |group| to "default".

1. Execute [=reporting/generate and queue a report=] with |body|,
1. Execute [=generate and queue a report=] with |body|,
"permissions-policy-violation", |group|, and |settings|.

</div>
Expand Down Expand Up @@ -1172,7 +1172,7 @@ partial interface HTMLIFrameElement {
<section>
<h2 id="change-log">Change log</h2>

<h3>Changes since FPWD</h3>
<h3 id="changes-since-fpwd">Changes since FPWD</h3>

* Expose new algorithms to create a Feature Policy before document is created. [Link](https://github.com/w3c/webappsec-permissions-policy/pull/324)
* Remove algorithms no longer needed. [Link](https://github.com/w3c/webappsec-permissions-policy/pull/325)
Expand Down