Add <script type="module"> and module workers #2300

Open
domenic opened this Issue Feb 13, 2016 · 3 comments

Comments

Projects
None yet
3 participants
@domenic
Contributor

domenic commented Feb 13, 2016

We'd love to add one of those nice caniuse boxes in the margin of the HTML spec for <script type="module"> and module workers. Nobody implements yet, but everyone is actively implementing!

@probins

This comment has been minimized.

Show comment
Hide comment
@probins

probins Feb 16, 2017

<script type="module"> is available under http://caniuse.com/#feat=es6-module

probins commented Feb 16, 2017

<script type="module"> is available under http://caniuse.com/#feat=es6-module

@domenic

This comment has been minimized.

Show comment
Hide comment
@domenic

domenic Feb 16, 2017

Contributor

Thanks! Unfortunately that section is not accurate. ES6 modules (specified in ECMA262) are a different feature than <script type="module"> (specified in HTML).

Contributor

domenic commented Feb 16, 2017

Thanks! Unfortunately that section is not accurate. ES6 modules (specified in ECMA262) are a different feature than <script type="module"> (specified in HTML).

@probins

This comment has been minimized.

Show comment
Hide comment
@probins

probins Feb 20, 2017

well, yes, but the two are interdependent. In practical terms, the answer to 'caniuse modules?' is 'yes, once module scripts are implemented'. @Fyrd, perhaps change the intro text to "Load ES modules as module scripts" or something similar, and add a link to the whatwg html spec as well? Also, Firefox needs adding to the list; its implementation recently landed in nightly behind a flag, and is scheduled for FF54 https://developer.mozilla.org/en-US/Firefox/Releases/54

probins commented Feb 20, 2017

well, yes, but the two are interdependent. In practical terms, the answer to 'caniuse modules?' is 'yes, once module scripts are implemented'. @Fyrd, perhaps change the intro text to "Load ES modules as module scripts" or something similar, and add a link to the whatwg html spec as well? Also, Firefox needs adding to the list; its implementation recently landed in nightly behind a flag, and is scheduled for FF54 https://developer.mozilla.org/en-US/Firefox/Releases/54

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment