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
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to