Closed Bug 1490543 Opened 6 years ago Closed 6 years ago

[wpt-sync] Sync PR 12959 - Worker: Add WPT tests for ServiceWorker module scripts.

Categories

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

enhancement

Tracking

()

RESOLVED FIXED
mozilla64
Tracking Status
firefox64 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Asami Doi <asamidoi@google.com> wrote:
>  Worker: Add WPT tests for ServiceWorker module scripts.
>  
>  Import module tests for ServiceWorker scripts reuse tests for
>  DedicatedWorker. The data path in both type is "Main scirpt ->
>  Worker script -> Main scirpt" because ServiceWorker can reply to its
>  source only in MessageEvent.
>  
>  Change-Id: I2bcc1670bd43109710af30c7df3aba5ff039201a
>  
>  Reviewed-on: https://chromium-review.googlesource.com/1205916
>  WPT-Export-Revision: 7c6101f5bda106949f293a6efcd83560ffb95d62
Component: web-platform-tests → DOM: Workers
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Ran 8 tests and 56 subtests
OK     : 1
PASS   : 4
FAIL   : 38
TIMEOUT: 2
ERROR  : 7
NOTRUN : 12

New tests that have failures or other problems:
/service-workers/service-worker/import-module-scripts.https.html
    Dynamic import and then static import.: FAIL
    Dynamic import.: FAIL
    Nested dynamic import.: FAIL
    Nested static import.: FAIL
    Static import and then dynamic import.: FAIL
    Static import.: FAIL
    eval(import()).: FAIL
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/466c4ab6f9d2
[wpt PR 12959] - ServiceWorker: Implement to return registration data after evaluate module scripts, and add WPT tests for ServiceWorker module scripts, a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/7e9790a6bd78
[wpt PR 12959] - Update wpt metadata, a=testonly
https://hg.mozilla.org/mozilla-central/rev/466c4ab6f9d2
https://hg.mozilla.org/mozilla-central/rev/7e9790a6bd78
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
You need to log in before you can comment on or make changes to this bug.