File tree Expand file tree Collapse file tree 1 file changed +24
-4
lines changed
Expand file tree Collapse file tree 1 file changed +24
-4
lines changed Original file line number Diff line number Diff line change @@ -3873,10 +3873,30 @@ Content-Type: application/reports+json
38733873
38743874 3. <a for=set>For each</a> |directive| of |policy|:
38753875
3876- 1. Let |result| be the result of executing |directive|'s
3877- <a for="directive">pre-request check</a> on |request| and |policy|.
3878-
3879- 2. If |result| is "`Allowed`", then return "`Does Not Violate`".
3876+ 1. If |directive|'s <a for="directive">name</a> is not one of the following:
3877+ * `child-src`
3878+ * `connect-src`
3879+ * `font-src`
3880+ * `frame-src`
3881+ * `img-src`
3882+ * `manifest-src`
3883+ * `media-src`
3884+ * `object-src`
3885+ * `script-src`
3886+ * `script-src-elem`
3887+ * `style-src`
3888+ * `style-src-elem`
3889+ * `worker-src`
3890+
3891+ then continue.
3892+
3893+ 1. Assert: |directive|'s <a for="directive">value</a> is a <a>source list</a> .
3894+
3895+ 1. Let |result| be the result of executing [[#match-request-to-source-list]] on
3896+ |request|, |directive|'s <a for="directive">value</a> , and
3897+ |policy|.
3898+
3899+ 1. If |result| is "`Allowed`", then return "`Does Not Violate`".
38803900
38813901 4. Return |defaultDirective|.
38823902
You can’t perform that action at this time.
0 commit comments