Closed Bug 1458564 Opened 6 years ago Closed 6 years ago

[wpt-sync] Sync PR 10776 - Worker: Throw an exception when importScripts() is called on "module" worker

Categories

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

enhancement

Tracking

()

RESOLVED FIXED
mozilla62
Tracking Status
firefox62 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Hiroki Nakagawa <nhiroki@chromium.org> wrote:
>  Worker: Throw an exception when importScripts() is called on "module" worker
>  
>  Spec: https://html.spec.whatwg.org/multipage/workers.html#dom-workerglobalscope-importscripts
>  
>  "1. If worker global scope's type is "module", throw a TypeError exception."
>  
>  Bug: 831420
>  Change-Id: I6a1976363435596562689988ed39394a3b735779
>  
>  Reviewed-on: https://chromium-review.googlesource.com/1038926
>  WPT-Export-Revision: 2892b02225fa7079a81424ba9f1b13fd9e976f29
Component: web-platform-tests → DOM: Workers
Product: Testing → Core
Ran 1 tests
TIMEOUT: 1
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/669e935741d5
[wpt PR 10776] - Worker: Throw an exception when importScripts() is called on "module" worker, a=testonly
https://hg.mozilla.org/mozilla-central/rev/669e935741d5
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla62
You need to log in before you can comment on or make changes to this bug.