Re: [w3c/webcomponents] HTML Modules (#645)

You're right about browsers checking the MIME type. When I say "guess how to parse" I mean only that the script and module forms of JavaScript do not require different MIME types.

Rejecting an import when the MIME type is incorrect is reasonable. I only flagged the inferring of import type based on file extension because it is different from the script tag example. I'm not familiar enough with any arguments for why script was handled that way, but I thought it was worth noting.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/645#issuecomment-322954299

Received on Thursday, 17 August 2017 02:48:11 UTC