Skip to content
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
10 changes: 5 additions & 5 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1207,8 +1207,8 @@ spec:SRI; urlPrefix: https://w3c.github.io/webappsec-subresource-integrity
1. <a for=set>For each</a> |directive| of |policy|:

1. Execute |directive|'s <a for="directive">initialization</a>
algorithm on |document|, and assert: its returned value is
"`Allowed`".
algorithm on |document| and |policy|, and assert: its returned
value is "`Allowed`".

<h4 id="get-csp-of-object" algorithm>
Retrieve the <a for="global object">CSP list</a> of an |object|
Expand Down Expand Up @@ -1324,7 +1324,7 @@ spec:SRI; urlPrefix: https://w3c.github.io/webappsec-subresource-integrity

2. If |directive|'s <a for="directive">inline check</a>
returns "`Allowed`" when executed upon null,
"`navigation`" and |navigation request|'s <a for="request">current URL</a>,
"`navigation`", |policy|, and |navigation request|'s <a for="request">current URL</a>,
skip to the next |directive|.

3. Otherwise, let |violation| be the result of executing
Expand Down Expand Up @@ -1428,7 +1428,7 @@ spec:SRI; urlPrefix: https://w3c.github.io/webappsec-subresource-integrity
1. <a for=set>For each</a> |directive| of |policy|:

1. Execute |directive|'s <a for="directive">initialization</a> algorithm on
|global|. If its returned value is "`Blocked`", then set |result| to
|global| and |policy|. If its returned value is "`Blocked`", then set |result| to
"`Blocked`".

3. Return |result|.
Expand All @@ -1452,7 +1452,7 @@ spec:SRI; urlPrefix: https://w3c.github.io/webappsec-subresource-integrity
2. <a for=list>For each</a> |policy| of |global|'s [=global object/CSP list=]:
1. <a for=set>For each</a> |directive| of |policy|:
1. If |directive|'s <a for="directive">webrtc pre-connect check</a>
returns "`Allowed`", [=iteration/continue=].
returns "`Allowed`" when executed upon |policy|, [=iteration/continue=].

2. Otherwise, let |violation| be the result of executing
[[#create-violation-for-global]] on |global|, |policy|, and
Expand Down