- From: Daniel Ehrenberg <notifications@github.com>
- Date: Sat, 28 Sep 2019 03:39:28 -0700
- To: w3c/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Saturday, 28 September 2019 10:39:50 UTC
If we had syntax in JavaScript for asserting the MIME type, would that address this concern? If so, we can look into this issue in TC39; I don't think we have considered it before. As a strawperson, it could look like this: ```js import document from "./foo.json" with mine: "application/json"; ``` This could be a basis for adding sending metadata to the host environment (HTML, Node.js, etc). Thoughts? Did people have other specific ideas for what this should look like? -- 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-536174636
Received on Saturday, 28 September 2019 10:39:50 UTC