Skip to content
Merged
Changes from 4 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
9 changes: 2 additions & 7 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,6 @@ spec:reporting; urlPrefix: https://w3c.github.io/reporting/
spec: HEADER-STRUCTURE; urlPrefix: https://httpwg.org/http-extensions/draft-ietf-httpbis-header-structure.html#
type: dfn
text: sh-dictionary; url: dictionary
spec: CSP; urlPrefix: https://www.w3.org/TR/CSP3/#
type: dfn
text: scheme-source; url: grammardef-scheme-source
text: host-source; url: grammardef-host-source
text: Does url match expression in origin with redirect count?; url: match-url-to-source-expression
</pre>
<pre class="biblio">
{
Expand Down Expand Up @@ -349,7 +344,7 @@ spec: CSP; urlPrefix: https://www.w3.org/TR/CSP3/#

1. Otherwise, [=set/for each=] <a>permissions-source-expression</a> |item| in the <a>allowlist</a>:

1. If the result of running <a>Does url match expression in origin with redirect count?</a>
1. If the result of running [=Does url match expression in origin with redirect count?=]
on <var>origin</var>, |item|, <var>origin</var>, and 0 is true then return true.

1. Return false.
Expand Down Expand Up @@ -398,7 +393,7 @@ spec: CSP; urlPrefix: https://www.w3.org/TR/CSP3/#
<dfn>feature-identifier</dfn> = 1*( ALPHA / DIGIT / "-")
<dfn>allow-list</dfn> = <a>allow-list-value</a> *(RWS <a>allow-list-value</a>)
<dfn>allow-list-value</dfn> = <a>permissions-source-expression</a> / "*" / "'self'" / "'src'" / "'none'"
<dfn>permissions-source-expression</dfn> = <a>scheme-source</a> / <a>host-source</a>
<dfn>permissions-source-expression</dfn> = [=scheme-source=] / [=host-source=]
</pre>
<div class="note">
The string "<code>'self'</code>" may be used as an origin in an
Expand Down