Re: [fetch] Block 'image/*' resources loaded as script. (#261)

> @@ -2040,15 +2039,23 @@ <h4 id="should-response-to-request-be-blocked-due-to-nosniff?"><dfn title="shoul
>   <span title=concept-network-error>network error</span>, and <var>response</var>'s
>   <span title=concept-internal-response>internal response</span> otherwise.
>  
> - <li><p>If <var>response</var> is not a <span title=concept-network-error>network error</span> and
> - <a href=https://w3c.github.io/webappsec-mixed-content/#should-block-response>should <var>internalResponse</var> to <var>request</var> be blocked as mixed content</a>,
> - <a href=https://w3c.github.io/webappsec-csp/#should-block-response>should <var>internalResponse</var> to <var>request</var> be blocked by Content Security Policy</a>,
> - or
> - <span title="should response to request be blocked due to nosniff">should <var>internalResponse</var> to <var>request</var> be blocked due to nosniff</span>,
> - returns <b title>blocked</b>, set <var>response</var> and <var>internalResponse</var> to a
> - <span title=concept-network-error>network error</span>.
> - <span data-anolis-ref>MIX</span>
> - <span data-anolis-ref>CSP</span>
> + <li>
> +  <p>If <var>response</var> is not a <span title=concept-network-error>network error</span> and
> +  any of the following algorithms return <b title>blocked</b>, then set <var>response</var> and

returns*

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/pull/261/files/9426119f0c418f54c65a3493294c449d7780e6b5#r57318708

Received on Thursday, 24 March 2016 13:53:23 UTC