Intent to Implement: Module scripts (ES6 modules)

121 views
Skip to first unread message

jcop...@mozilla.com

unread,
Jan 13, 2017, 12:30:06 PM1/13/17
to
Summary:

An HTML <script type="module"> element allows direct use of JavaScript modules
in HTML. It will initially be implemented behind a pref.

Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=568953

Link to standard:

https://html.spec.whatwg.org/#the-script-element:module-script
https://tc39.github.io/ecma262/#sec-modules

Platform coverage: All.

Estimated or target release: Firefox 53/54.

Preference behind which this will be implemented: dom.moduleScripts.enabled

DevTools bug: None yet.

Do other browser engines implement this?

Microsoft Edge: shipping behind a flag
Safari: implemented in Safari Technology Preview 21
Chrome: under development

Tests:

Mochitests under dom/base/test/jsmodules
Reply all
Reply to author
Forward
0 new messages