Hi webkit-dev,

This is a request for WebKit's position on ES modules for Service Workers.

Explainer:

https://github.com/w3c/ServiceWorker/commit/6d9500e99e764c12b117c63d10107e094d243662

Spec:

https://w3c.github.io/ServiceWorker
<https://w3c.github.io/ServiceWorker/#navigator-service-worker-register%20(see%20%22type%22%20in%20the%20section)>
(see "type" in the section)

Existing Chromium
bug:https://bugs.chromium.org/p/chromium/issues/detail?id=824647

Summary:

JavaScript will support modules in service workers. Setting 'module'
type by the constructor's type attribute, worker scripts are loaded as
ES modules and the import statement is available on worker contexts.

Thank you,
Ghazale Hosseinabadi
_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev

Reply via email to