Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove [shared|dedicated]-worker-import-data-url-cross-origin.html fr…
…om 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)
- Loading branch information