Closed Bug 1447216 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 10104 - Worker: Support ES Modules on DedicatedWorker behind the runtime flag

Categories

(Core :: DOM: Workers, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
mozilla61
Tracking Status
firefox61 --- fixed

People

(Reporter: wptsync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 10104 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/w3c/web-platform-tests/pull/10104
Details from upstream follow.

Hiroki Nakagawa <nhiroki@chromium.org> wrote:
>  Worker: Support ES Modules on DedicatedWorker behind the runtime flag
>  
>  This CL supports ES Modules on DedicatedWorker behind the ModuleDedicatedWorker
>  flag and adds WPT tests.
>  
>  With the flag, you can specify 'type' option on the constructor of
>  DedicatedWorker (i.e., new Worker) to start a dedicated worker as a module
>  script. On DedicatedWorkerGlobalScope, static import is available, but dynamic
>  import() hasn't been implemented yet.
>  
>  Bug: 680046
>  Change-Id: I3aca350228ec07be7884c7a2eb8cd351e7fd6b6e
>  
>  Reviewed-on: https://chromium-review.googlesource.com/967908
>  WPT-Export-Revision: d13f561536060499ae44bbc5f3683322e124b446
Component: web-platform-tests → DOM: Workers
Product: Testing → Core
Ran 2 tests and 7 subtests
OK     : 1
PASS   : 3
FAIL   : 2
TIMEOUT: 1
ERROR  : 1
NOTRUN : 1

New tests that have failures or other problems:
/workers/modules/dedicated-worker-options-type.html
    Test worker construction with an empty worker type.: FAIL
    Test worker construction with an unknown worker type.: FAIL
/workers/modules/dedicated-worker-static-import.html: ERROR
    Test nested static import on DedicatedWorkerGlobalScope.: NOTRUN
    Test static import on DedicatedWorkerGlobalScope.: TIMEOUT
P4 is unused to setting priority to P3.
Priority: P4 → P3
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/f2cb9ba95687
[wpt PR 10104] - Worker: Support ES Modules on DedicatedWorker behind the runtime flag, a=testonly
https://hg.mozilla.org/mozilla-central/rev/f2cb9ba95687
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla61
You need to log in before you can comment on or make changes to this bug.