Re: [whatwg/fetch] Fold request type into destination (#582)

annevk commented on this pull request.



> @@ -813,23 +802,28 @@ the empty string,
 "<code>worker</code>", or
 "<code>xslt</code>". Unless stated otherwise it is the empty string.
 
+<p>A <dfn for=export>script-like destination</dfn> is "<code>script</code>",
+"<code>serviceworker</code>", "<code>sharedworker</code>", or "<code>worker</code>".

If we made "`xslt`" part of this, then [nosniff](https://fetch.spec.whatwg.org/#should-response-to-request-be-blocked-due-to-nosniff?) would fail.

And adding "`xslt`" to [MIME type blocking](https://fetch.spec.whatwg.org/#should-response-to-request-be-blocked-due-to-mime-type?) probably doesn't help either as XSLT already requires a correct MIME type?

-- 
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/582#discussion_r134474732

Received on Tuesday, 22 August 2017 13:11:14 UTC