@@ -1207,8 +1207,8 @@ spec:SRI; urlPrefix: https://w3c.github.io/webappsec-subresource-integrity
|
1207 | 1207 | 1. <a for=set>For each</a> |directive| of |policy|: |
1208 | 1208 | |
1209 | 1209 | 1. Execute |directive|'s <a for="directive">initialization</a> |
1210 | | - algorithm on |document|, and assert: its returned value is |
1211 | | - "`Allowed`". |
| 1210 | + algorithm on |document| and |policy|, and assert: its returned |
| 1211 | +value is "`Allowed`". |
1212 | 1212 | |
1213 | 1213 | <h4 id="get-csp-of-object" algorithm> |
1214 | 1214 | Retrieve the <a for="global object">CSP list</a> of an |object| |
@@ -1324,7 +1324,7 @@ spec:SRI; urlPrefix: https://w3c.github.io/webappsec-subresource-integrity
|
1324 | 1324 | |
1325 | 1325 | 2. If |directive|'s <a for="directive">inline check</a> |
1326 | 1326 | returns "`Allowed`" when executed upon null, |
1327 | | - "`navigation`" and |navigation request|'s <a for="request">current URL</a>, |
| 1327 | + "`navigation`", |policy|, and |navigation request|'s <a for="request">current URL</a>, |
1328 | 1328 | skip to the next |directive|. |
1329 | 1329 | |
1330 | 1330 | 3. Otherwise, let |violation| be the result of executing |
@@ -1428,7 +1428,7 @@ spec:SRI; urlPrefix: https://w3c.github.io/webappsec-subresource-integrity
|
1428 | 1428 | 1. <a for=set>For each</a> |directive| of |policy|: |
1429 | 1429 | |
1430 | 1430 | 1. Execute |directive|'s <a for="directive">initialization</a> algorithm on |
1431 | | - |global|. If its returned value is "`Blocked`", then set |result| to |
| 1431 | + |global| and |policy|. If its returned value is "`Blocked`", then set |result| to |
1432 | 1432 | "`Blocked`". |
1433 | 1433 | |
1434 | 1434 | 3. Return |result|. |
@@ -1452,7 +1452,7 @@ spec:SRI; urlPrefix: https://w3c.github.io/webappsec-subresource-integrity
|
1452 | 1452 | 2. <a for=list>For each</a> |policy| of |global|'s [=global object/CSP list=]: |
1453 | 1453 | 1. <a for=set>For each</a> |directive| of |policy|: |
1454 | 1454 | 1. If |directive|'s <a for="directive">webrtc pre-connect check</a> |
1455 | | - returns "`Allowed`", [=iteration/continue=]. |
| 1455 | + returns "`Allowed`" when executed upon |policy|, [=iteration/continue=]. |
1456 | 1456 | |
1457 | 1457 | 2. Otherwise, let |violation| be the result of executing |
1458 | 1458 | [[#create-violation-for-global]] on |global|, |policy|, and |
|