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

> +<var>response</var> to <var>request</var> be blocked due to its MIME type?</dfn></h3>
> +
> +<p>Run these steps:
> +
> +<ol>
> + <li><p>Let <var>MIMEType</var> be the result of
> + <span title=concept-header-extract-mime-type>extracting a MIME type</span> from
> + <var>response</var>'s <span title=concept-response-header-list>header list</span>.
> +
> + <li><p>Let <var>type</var> be <var>request</var>'s
> + <span title=concept-request-type>type</span>.
> +
> + <li><p>If <var>type</var> is "<code title>script</code>", and <var>MIMEType</var>
> + begins with `<code title>image/</code>`, return <b title>blocked</b>.
> +
> + <li><p class=XXX>"<code title>audio</code>", "<code title>video</code>" ...

Is this actually something we want to do? Maybe just leave this out until we actually get there?

---
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#r57318486

Received on Thursday, 24 March 2016 13:51:49 UTC