Intent to Prototype and Ship: ES Modules for service workers ('module' type option)

236 katselukertaa
Siirry ensimmäiseen lukemattomaan viestiin

Ghazale Hosseinabadi

lukematon,
12.3.2021 klo 16.00.1012.3.2021
vastaanottaja blin...@chromium.org

Contact emails

gha...@chromium.org


Explainer


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


Specification

https://w3c.github.io/ServiceWorker/#service-worker-concept


Design docs


https://docs.google.com/document/d/1SeQ085YdBTtW3D_ygSpO0Wz2DAe8QiS1gj37IG5lstg/edit#


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.



Blink component

Blink>ServiceWorker


TAG review

https://github.com/w3ctag/design-reviews/issues/617


TAG review status

Pending


Risks



Interoperability and Compatibility



Gecko: Positive (https://github.com/mozilla/standards-positions/issues/499) https://bugzilla.mozilla.org/show_bug.cgi?id=1360870


WebKit: Positive (https://webkit.org/blog/11577/release-notes-for-safari-technology-preview-122/)


Web developers: Positive



Is this feature fully tested by web-platform-tests?

Yes


Tracking bug

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


Link to entry on the Chrome Platform Status

https://www.chromestatus.com/feature/4609574738853888


Matt Falkenhagen

lukematon,
15.3.2021 klo 22.47.1415.3.2021
vastaanottaja Ghazale Hosseinabadi, blink-dev
I support shipping this (non-owner).

2021年3月13日(土) 6:00 Ghazale Hosseinabadi <gha...@chromium.org>:
--
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+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CANaVSCzVwT4_j%3Df8Wgx18tTQ8_Vc7mkQYHZtTFOC5ec0tZZSVQ%40mail.gmail.com.

Chris Harrelson

lukematon,
16.3.2021 klo 16.39.0416.3.2021
vastaanottaja Matt Falkenhagen, Ghazale Hosseinabadi, blink-dev
LGTM1

On Mon, Mar 15, 2021 at 7:47 PM Matt Falkenhagen <fal...@chromium.org> wrote:
I support shipping this (non-owner).

2021年3月13日(土) 6:00 Ghazale Hosseinabadi <gha...@chromium.org>:

Contact emails

gha...@chromium.org


Explainer


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


Specification

https://w3c.github.io/ServiceWorker/#service-worker-concept


Design docs


https://docs.google.com/document/d/1SeQ085YdBTtW3D_ygSpO0Wz2DAe8QiS1gj37IG5lstg/edit#


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.



Blink component

Blink>ServiceWorker


TAG review

https://github.com/w3ctag/design-reviews/issues/617


TAG review status

Pending


Risks



Interoperability and Compatibility



Gecko: Positive (https://github.com/mozilla/standards-positions/issues/499) https://bugzilla.mozilla.org/show_bug.cgi?id=1360870


WebKit: Positive (https://webkit.org/blog/11577/release-notes-for-safari-technology-preview-122/)


Nit: "shipped/shipping" looks accurate.
 

Web developers: Positive



Is this feature fully tested by web-platform-tests?

Yes


Tracking bug

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


Link to entry on the Chrome Platform Status

https://www.chromestatus.com/feature/4609574738853888


--
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+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CANaVSCzVwT4_j%3Df8Wgx18tTQ8_Vc7mkQYHZtTFOC5ec0tZZSVQ%40mail.gmail.com.

--
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+...@chromium.org.

Yoav Weiss

lukematon,
17.3.2021 klo 11.59.5017.3.2021
vastaanottaja Chris Harrelson, Matt Falkenhagen, Ghazale Hosseinabadi, blink-dev

Manuel Rego Casasnovas

lukematon,
18.3.2021 klo 7.25.1418.3.2021
vastaanottaja Yoav Weiss, Chris Harrelson, Matt Falkenhagen, Ghazale Hosseinabadi, blink-dev
LGTM3

On 17/03/2021 08:43, Yoav Weiss wrote:
> LGTM2
>
> On Tue, Mar 16, 2021 at 9:39 PM Chris Harrelson <chri...@chromium.org
> <mailto:chri...@chromium.org>> wrote:
>
> LGTM1
>
> On Mon, Mar 15, 2021 at 7:47 PM Matt Falkenhagen
> <fal...@chromium.org <mailto:fal...@chromium.org>> wrote:
>
> I support shipping this (non-owner).
>
> 2021年3月13日(土) 6:00 Ghazale Hosseinabadi
> <gha...@chromium.org <mailto:gha...@chromium.org>>:
>
>
> Contact emails
>
> gha...@chromium.org <mailto:gha...@chromium.org>
>
>
> Explainer
>
>
> https://github.com/w3c/ServiceWorker/commit/6d9500e99e764c12b117c63d10107e094d243662
> <https://github.com/w3c/ServiceWorker/commit/6d9500e99e764c12b117c63d10107e094d243662>
>
>
> Specification
>
> https://w3c.github.io/ServiceWorker/#service-worker-concept
> <https://w3c.github.io/ServiceWorker/#service-worker-concept>
>
>
> Design docs
>
>
> https://docs.google.com/document/d/1SeQ085YdBTtW3D_ygSpO0Wz2DAe8QiS1gj37IG5lstg/edit#
> <https://docs.google.com/document/d/1SeQ085YdBTtW3D_ygSpO0Wz2DAe8QiS1gj37IG5lstg/edit#>
>
>
> 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.
>
>
>
> Blink component
>
> Blink>ServiceWorker
> <https://bugs.chromium.org/p/chromium/issues/list?q=component:Blink%3EServiceWorker>
>
>
> TAG review
>
> https://github.com/w3ctag/design-reviews/issues/617
> <https://github.com/w3ctag/design-reviews/issues/617>
>
>
> TAG review status
>
> Pending
>
>
> Risks
>
>
>
> Interoperability and Compatibility
>
>
>
> Gecko: Positive
> (https://github.com/mozilla/standards-positions/issues/499
> <https://github.com/mozilla/standards-positions/issues/499>)
> https://bugzilla.mozilla.org/show_bug.cgi?id=1360870
> <https://webkit.org/blog/11577/release-notes-for-safari-technology-preview-122/>)
>
>
> Nit: "shipped/shipping" looks accurate.
>  
>
>
> Web developers: Positive
>
>
>
> Is this feature fully tested by web-platform-tests
> <https://chromium.googlesource.com/chromium/src/+/master/docs/testing/web_platform_tests.md>?
>
> Yes
>
>
> Tracking bug
>
> https://bugs.chromium.org/p/chromium/issues/detail?id=824647
> <https://bugs.chromium.org/p/chromium/issues/detail?id=824647>
>
>
> Link to entry on the Chrome Platform Status
>
> https://www.chromestatus.com/feature/4609574738853888
> <https://www.chromestatus.com/feature/4609574738853888>
>
>
> --
> 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+...@chromium.org
> <mailto:blink-dev+...@chromium.org>.
> <https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CANaVSCzVwT4_j%3Df8Wgx18tTQ8_Vc7mkQYHZtTFOC5ec0tZZSVQ%40mail.gmail.com?utm_medium=email&utm_source=footer>.
>
> --
> 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+...@chromium.org
> <mailto:blink-dev+...@chromium.org>.
> To view this discussion on the web visit
> https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAJ_xCi%3D29Z_gaZSr6%2BSPws%2B0JuXg_PmGp9p%2Be-buJqusQ1U%2Bzg%40mail.gmail.com
> <https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAJ_xCi%3D29Z_gaZSr6%2BSPws%2B0JuXg_PmGp9p%2Be-buJqusQ1U%2Bzg%40mail.gmail.com?utm_medium=email&utm_source=footer>.
>
> --
> 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+...@chromium.org
> <mailto:blink-dev+...@chromium.org>.
> To view this discussion on the web visit
> https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAOMQ%2Bw_R8za-rjtEjHD0QY7zMeGY9QFjPT0L2SjQbT8HDKHW2g%40mail.gmail.com
> <https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAOMQ%2Bw_R8za-rjtEjHD0QY7zMeGY9QFjPT0L2SjQbT8HDKHW2g%40mail.gmail.com?utm_medium=email&utm_source=footer>.
>
> --
> 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+...@chromium.org
> <mailto:blink-dev+...@chromium.org>.
> To view this discussion on the web visit
> https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAL5BFfWYr3mV9n6JVS95CQnfT8OHAHj1e6EsYDfmz4kKkbZtMg%40mail.gmail.com
> <https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAL5BFfWYr3mV9n6JVS95CQnfT8OHAHj1e6EsYDfmz4kKkbZtMg%40mail.gmail.com?utm_medium=email&utm_source=footer>.

Alan Cutter

lukematon,
18.3.2021 klo 11.29.1918.3.2021
vastaanottaja blink-dev, yoav...@chromium.org, Matt Falkenhagen, Ghazale Hosseinabadi, blink-dev, Chris Harrelson
Very excited for this, this lets me share code between HTML and SW.
Vastaa kaikille
Vastaa kirjoittajalle
Välitä
0 uutta viestiä