Bug 1729734 [wpt PR 30399] - [WPT] Add import.meta.url tests for workers, a=testonly
commitf3677a34f849d3855beddd5d0e3b3140422ae2b0
authorHiroshige Hayashizaki <hiroshige@chromium.org>
Sun, 3 Oct 2021 10:20:52 +0000 (3 10:20 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Mon, 4 Oct 2021 00:19:41 +0000 (4 00:19 +0000)
treef8e78a56d7bc00f2334e6b38e6e5ebf903646c2f
parent62902141f3b307150dd1a80af15f998b97f6bf11
Bug 1729734 [wpt PR 30399] - [WPT] Add import.meta.url tests for workers, a=testonly

Automatic update from web-platform-tests
[WPT] Add import.meta.url tests for workers

By converting the existing tests to `.any.js` and adding
tests for top-level worker scripts.

Change-Id: I3d29b71a7613b26f5154dfec204e6d585c891e76
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3144839
Reviewed-by: Xianzhu Wang <wangxianzhu@chromium.org>
Reviewed-by: Domenic Denicola <domenic@chromium.org>
Commit-Queue: Domenic Denicola <domenic@chromium.org>
Cr-Commit-Position: refs/heads/main@{#922628}

--

wpt-commits: 8c79115a5f3818b2c79c9d0a889ac763fa531817
wpt-pr: 30399
testing/web-platform/tests/html/semantics/scripting-1/the-script-element/module/import-meta/import-meta-url.any.js [copied from testing/web-platform/tests/html/semantics/scripting-1/the-script-element/module/import-meta/import-meta-url.html with 82% similarity]
testing/web-platform/tests/html/semantics/scripting-1/the-script-element/module/import-meta/import-meta-url.html
testing/web-platform/tests/html/semantics/scripting-1/the-script-element/module/import-meta/postmessage-worker.js [new file with mode: 0644]