Contact emails
{adamk, kouhei, hiroshige, neis}@chromium.org
Spec: {domenic, neis}@chromium.org
Spec
https://html.spec.whatwg.org/#the-script-element:module-script
https://tc39.github.io/ecma262/#sec-modules
Summary (from the intent to implement)
The JavaScript specification defines a syntax for modular JavaScript programs, allowing one module to import symbols from another module which exports them. With <script type="module">, the HTML specification describes how such modules (and their imports) load on the web, as well as how they interact with the rest of the HTML processing model.
Link to “Intent to Implement” blink-dev discussion
https://groups.google.com/a/chromium.org/d/msg/blink-dev/uba6pMr-jec/tXdg6YYPBAAJ
Is this feature supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?
Yes.
Demo link
https://paulirish.github.io/es-modules-todomvc/
Debuggability
Baseline module support (module as script).
Out-of-scope features
Initially, the following aspect(s) will not be supported:
<script type=module> in XHTML (crbug)
Interoperability and Compatibility Risk
Edge: In preview build
Firefox: Behind a flag
Safari: Shipped
Web developers: Positive
Is this feature fully tested by web-platform-tests?
Yes. Extensive contributions to web platform tests have been contributed by Edge, WebKit, Blink, and V8 engineers during spec and implementation development.
OWP launch tracking bug
https://bugs.chromium.org/p/chromium/issues/detail?id=594639
Entry on the feature dashboard
https://www.chromestatus.com/feature/5365692190687232
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAPVAxLUFAYjE7r2kK-6OSCG9DFDwTc0qNUEnw8cFsa%3D9UbVEKQ%40mail.gmail.com.
Is this feature fully tested by web-platform-tests?
Yes. Extensive contributions to web platform tests have been contributed by Edge, WebKit, Blink, and V8 engineers during spec and implementation development.
From: blin...@chromium.org [mailto:blin...@chromium.org] On Behalf Of PhistucK
> What about test-262 (web-platform-tests are not supposed to test ECMAScript features) for modules?
This is not an ECMAScript feature; this is an intent-to-ship specifically for <script type=module>, and HTML feature. As such test262 tests are out of scope.
There are some test262 tests for modules, but those are related to foundational work done by the V8 team earlier in the process, and not related to the work being done in this intent to ship.
<script type=module> is just another script. There is no special treatment for them in service workers or at the network layer.
Has anyone run the full test262 test suite within a module scope, just to make sure all of the ordinary features work there the same?(I understand that from a point of view of an implementor, this might seem unnecessary, because it is the same engine, but who knows, it may uncover hidden peculiarities in the engine)
--
--
v8-users mailing list
v8-u...@googlegroups.com
http://groups.google.com/group/v8-users
---
You received this message because you are subscribed to the Google Groups "v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to v8-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/a0cfab54-5c05-4c81-8a60-a735762922ce%40chromium.org.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAPVAxLUFAYjE7r2kK-6OSCG9DFDwTc0qNUEnw8cFsa%3D9UbVEKQ%40mail.gmail.com.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAOtFfx7vcOepL1uBsi0jx5nhLv5nZmmGH%3DcSfBoNqeu%3DDrAmtQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAOMQ%2Bw9E95s_ssq5FQ_v9jddPHpy-YfE9eSsm_w5fPrDEyL22A%40mail.gmail.com.