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


Link to standard:

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


Mochitests under dom/base/test/jsmodules
dev-platform mailing list

Reply via email to