Closed Bug 1610743 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 21333 - SharedWorker: Add meta.url WPT for SharedWorker with type 'module'

Categories

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

task

Tracking

()

RESOLVED FIXED
mozilla74
Tracking Status
firefox74 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Eriko Kurimoto <elkurin@google.com> wrote:

SharedWorker: Add meta.url WPT for SharedWorker with type 'module'

This CL adds a web platform test for checking the behavior of
|import.meta.url| in SharedWorker when the script type is set to module.

Bug: 824646
Change-Id: Ifaa34e238fe0a432137c5e8213e81610249b7e79
Reviewed-on: https://chromium-review.googlesource.com/2014355
WPT-Export-Revision: 22f5fd42a069fad498ad338c61db00ba101826e8

Component: web-platform-tests → DOM: Workers
Product: Testing → Core

CI Results

Ran 13 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 44 tests

Status Summary

Firefox

OK : 1[Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt] 2[Gecko-linux1804-64-asan-opt, Gecko-linux1804-64-debug, Gecko-windows10-64-debug, Gecko-windows10-64-opt, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug, Gecko-windows7-32-opt, GitHub]
PASS : 4[GitHub] 45[Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-linux1804-64-asan-opt, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-debug, Gecko-windows10-64-opt, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug, Gecko-windows7-32-opt]
FAIL : 9
ERROR: 1[Gecko-linux1804-64-asan-opt, Gecko-linux1804-64-debug, Gecko-windows10-64-debug, Gecko-windows10-64-opt, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug, Gecko-windows7-32-opt, GitHub] 2[Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt]

Chrome

OK : 3
PASS : 9
FAIL : 4

Safari

OK : 2
PASS : 5
FAIL : 8
ERROR: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

Firefox-only Failures

/workers/modules/dedicated-worker-import-failure.html
Worker construction for a file URL should throw an exception.: FAIL

New Tests That Don't Pass

/workers/modules/shared-worker-import-meta.html: ERROR [Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt], OK [Gecko-linux1804-64-asan-opt, Gecko-linux1804-64-debug, Gecko-windows10-64-debug, Gecko-windows10-64-opt, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug, Gecko-windows7-32-opt, GitHub] (Chrome: OK, Safari: OK)
Test import.meta.url on the imported module script.: FAIL (Chrome: FAIL, Safari: FAIL)
Test import.meta.url on the imported module script with a fragment.: FAIL (Chrome: FAIL, Safari: FAIL)
Test import.meta.url on the top-level module script.: FAIL (Chrome: FAIL, Safari: FAIL)
/workers/modules/dedicated-worker-import-failure.html
Dynamic import for non-existent script should throw an exception.: FAIL (Chrome: PASS, Safari: FAIL)
Worker construction for a file URL should throw an exception.: FAIL (Chrome: PASS, Safari: PASS)
importScripts() on module worker should throw an exception.: FAIL (Chrome: PASS, Safari: FAIL)
/workers/modules/dedicated-worker-import-meta.html: ERROR (Chrome: OK, Safari: ERROR)
Test import.meta.url on the imported module script.: FAIL (Chrome: PASS, Safari: FAIL)
Test import.meta.url on the imported module script with a fragment.: FAIL (Chrome: FAIL, Safari: FAIL)
Test import.meta.url on the top-level module script.: FAIL (Chrome: PASS, Safari: FAIL)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/76abb99c6b3c
[wpt PR 21333] - SharedWorker: Add meta.url WPT for SharedWorker with type 'module', a=testonly
https://hg.mozilla.org/integration/autoland/rev/72463991a092
[wpt PR 21333] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla74
You need to log in before you can comment on or make changes to this bug.