- From: rektide <notifications@github.com>
- Date: Sat, 18 Apr 2020 19:27:27 -0700
- To: w3c/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Sunday, 19 April 2020 02:27:40 UTC
> An analogous case: <script type=module src="config.json"></script>. This is pretty useless, but also harmless. The current specification allows it. I'd say we should make a common decision between workers and script tags. In my opinion, module HTMLScriptElement's [deserve to have some properties that make sense for modules](https://github.com/whatwg/html/issues/2235). A module has exports, it has imports, and to me it seems illogical that the DOM element would not expose in the Document Object Model some of the JavaScript model that underlies that particular script. I wrote 2235 here thinking mainly about JavaScript modules, but I would expect those same sensibilities to apply to JSON modules, to HTML modules, to all modules: the DOM ought reflect the underlying module contents. -- 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/822#issuecomment-616010166
Received on Sunday, 19 April 2020 02:27:40 UTC