Skip to content

Commit 5174a15

Browse files
authored
Remove response's CSP list
Complements w3c/webappsec-csp#493. Response component of CSP is now managed at a higher level of abstraction.
1 parent 5fac9e8 commit 5174a15

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

fetch.bs

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1937,11 +1937,6 @@ message as HTTP/2 does not support them.
19371937
<!-- If we ever expand the utility of this we need to carefully consider whether filtered responses
19381938
need to mask it, whether the cache API needs to store it, etc. -->
19391939

1940-
<p>A <a for=/>response</a> has an associated
1941-
<dfn export for=response id=concept-response-csp-list>CSP list</dfn>, which is a <a for=/>list</a>
1942-
of <a>Content Security Policy objects</a> for the <a for=/>response</a>. The list is empty unless
1943-
otherwise specified. [[!CSP]]
1944-
19451940
<p>A <a for=/>response</a> has an associated
19461941
<dfn export for=response id=concept-response-cors-exposed-header-name-list>CORS-exposed header-name list</dfn>
19471942
(a list of zero or more <a for=/>header</a>
@@ -3758,8 +3753,7 @@ steps:
37583753

37593754
<li>
37603755
<p>Return a new <a for=/>response</a> whose <a for=response>status</a> is
3761-
<var>noCorsResponse</var>'s <a for=response>status</a>, and <a for=response>CSP list</a>
3762-
is <var>noCorsResponse</var>'s <a for=response>CSP list</a>.
3756+
<var>noCorsResponse</var>'s <a for=response>status</a>.
37633757

37643758
<p class="warning">This is only an effective defense against side channel attacks if
37653759
<var>noCorsResponse</var> is kept isolated from the process that initiated the request.
@@ -3861,8 +3855,6 @@ steps:
38613855
<li><p>If <var>request</var>'s <a for=request>timing allow failed flag</a> is unset, then set
38623856
<var>internalResponse</var>'s <a for=response>timing allow passed flag</a>.
38633857

3864-
<li><p><a lt="Set response's CSP list">Set <var>internalResponse</var>'s CSP list</a>.
3865-
38663858
<li>
38673859
<p>If <var>response</var> is not a <a>network error</a> and any of the following returns
38683860
<b>blocked</b>

0 commit comments

Comments
 (0)