Skip to content

Commit de7e346

Browse files
allstarschhnt1m
authored andcommitted
Remove [shared|dedicated]-worker-import-data-url-cross-origin.html from interop-2023-modules
Fixing web-platform-tests/interop#406 In the [static import script from data: URL should be allowed.] case, The worker will load the data URI, which imports "/resources/static-import-script-block-cross-origin.js". https://github.com/web-platform-tests/wpt/blob/master/workers/modules/dedicated-worker-import-data-url-cross-origin.html#L13 And static-import-script-block-cross-origin.js will static import 'export-block-cross-origin.js' https://github.com/web-platform-tests/wpt/blob/master/workers/modules/resources/static-import-script-block-cross-origin.js The script "export-block-cross-origin.js" is same-origin with the document, but not same-origin with the worker script which is loaded by data: URI. Due to the spec issue, whatwg/html#9571 There isn't an agreement between browser vendors on which [settings object](https://html.spec.whatwg.org/multipage/webappapis.html#environment-settings-object) to use when fetching the descendants of module worker. https://wpt.fyi/results/workers/modules/dedicated-worker-import-data-url-cross-origin.html?label=experimental&label=master&aligned https://wpt.fyi/results/workers/modules/shared-worker-import-data-url-cross-origin.html?label=experimental&label=master&aligned So removing these two tests from interop-2023-modules. (According to the README.md in wpt-metadata, when a 'label' is used, 'subtest' is omitted, so I remove these two files from interop-2023-modules completely)
1 parent d987035 commit de7e346

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

workers/modules/META.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ links:
77
results:
88
- test: dedicated-worker-import-failure.html
99
- test: dedicated-worker-import.any.worker.html
10-
- test: shared-worker-import-data-url-cross-origin.html
1110
- test: shared-worker-import-data-url.window.html
1211
- test: shared-worker-import-failure.html
1312
- test: shared-worker-import-referrer.html
@@ -22,7 +21,6 @@ links:
2221
- test: dedicated-worker-import-blob-url.any.html
2322
- test: dedicated-worker-import-blob-url.any.worker.html
2423
- test: shared-worker-import.window.html
25-
- test: dedicated-worker-import-data-url-cross-origin.html
2624
- test: dedicated-worker-parse-error-failure.html
2725
- test: shared-worker-import-blob-url.window.html
2826
- test: shared-worker-parse-error-failure.html

0 commit comments

Comments
 (0)