Re: [w3c/webcomponents] HTML, CSS, and JSON modules shouldn't solely rely on MIME type to change parsing behavior (#839)

I was imagining that the mime type be used as it does in the current JSON module proposal. If the mime type is instead something that causes code execution on the host, e.g. `application/javascript`, then an error is thrown.

-- 
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/839#issuecomment-540269678

Received on Thursday, 10 October 2019 00:42:18 UTC