Bug 1657204 [wpt PR 24878] - [WPT] Reland with fix: Test script's base URL used in...
commit8e8b7ce8a839d7645b1dcc551f27994b2f8b517c
authorHiroshige Hayashizaki <hiroshige@chromium.org>
Fri, 7 Aug 2020 12:43:54 +0000 (7 12:43 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Fri, 7 Aug 2020 23:26:11 +0000 (7 23:26 +0000)
tree40fa6566ef540d66c2915ac6c78bbde4e9001bce
parent58a9d9911e9e63add8c8b88ba409368a4ddb5ac8
Bug 1657204 [wpt PR 24878] - [WPT] Reland with fix: Test script's base URL used in dynamic imports, a=testonly

Automatic update from web-platform-tests
[WPT] Reland with fix: Test script's base URL used in dynamic imports

This CL checks base URL used in resolving relative URL-like
specifiers in dynamic imports() from

- `<script>`s,
- worker top-level scripts, and
- worker scripts imported by `importScripts()`.

This is for https://github.com/whatwg/html/issues/5751.

This CL relands
https://chromium-review.googlesource.com/c/chromium/src/+/2198835/
with a fix:

`base-url-worker.sub.html` was flaky due to
race between two `fetch_tests_from_worker()`s.
In this reland, a `fetch_tests_from_worker()` is
moved to a new file `base-url-worker-importScripts.html`,
having at most one `fetch_tests_from_worker()` per file.

Bug: 10820861112844
Change-Id: I59c9817a7829e950f40878d376ccb5216207b7e8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2337194
Reviewed-by: Domenic Denicola <domenic@chromium.org>
Commit-Queue: Hiroshige Hayashizaki <hiroshige@chromium.org>
Cr-Commit-Position: refs/heads/master@{#794865}

--

wpt-commits: ad99a9e949c6006cc0f609501de77a0edb1e593a
wpt-pr: 24878
testing/web-platform/tests/html/semantics/scripting-1/the-script-element/module/dynamic-import/alpha/base-url-worker-importScripts.html [new file with mode: 0644]
testing/web-platform/tests/html/semantics/scripting-1/the-script-element/module/dynamic-import/alpha/base-url-worker.sub.html [new file with mode: 0644]
testing/web-platform/tests/html/semantics/scripting-1/the-script-element/module/dynamic-import/alpha/base-url.sub.html [new file with mode: 0644]
testing/web-platform/tests/html/semantics/scripting-1/the-script-element/module/dynamic-import/alpha/import.js [new file with mode: 0644]
testing/web-platform/tests/html/semantics/scripting-1/the-script-element/module/dynamic-import/alpha/worker-importScripts.sub.js [new file with mode: 0644]
testing/web-platform/tests/html/semantics/scripting-1/the-script-element/module/dynamic-import/beta/import.js [new file with mode: 0644]
testing/web-platform/tests/html/semantics/scripting-1/the-script-element/module/dynamic-import/beta/redirect.py [new file with mode: 0644]
testing/web-platform/tests/html/semantics/scripting-1/the-script-element/module/dynamic-import/gamma/base-url.sub.js [new file with mode: 0644]
testing/web-platform/tests/html/semantics/scripting-1/the-script-element/module/dynamic-import/gamma/import.js [new file with mode: 0644]