-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove tests related to whatwg/html#9571 from Interop 2023 #406
Comments
@nairnandu / @jgraham Can you find someone to review for Blink / Gecko? |
@nyaxt/@hayatoito could you review this test change proposal for Blink? |
@youennf Can you check if the list of tests affected by whatwg/html#9571 is exhaustive? cc @allstarschh |
Hi, thanks for adding me in. I think there are some other tests also affected by whatwg/html#9571
Please see the summary in cc @smaug---- |
Agreed with the additional tests plus shared-worker-import-csp.html as well. |
I am not sure whether whatwg/html#9571 is the right direction or not. That being said, it's likely that the following tests could also be impacted by the issue, as they all utilize imports within workers: workers/modules/shared-worker-parse-error-failure.html Could you remove these tests as well? These are tracked on https://crbug.com/1446246 on Blink. |
Hi, @hayatoito
Please see domenic's comment from whatwg/html#2289 (comment)
See web-platform-tests/wpt#41745 |
Thanks! I understand these tests are not related to the whatwg/html#9571. I haven't had the time to fully understand the current standard yet, |
@nt1m would you mind preparing a PR against wpt-metadata to make it very easy to see which tests should be removed, given the many comments on this issue? |
…dules Fixing web-platform-tests/interop#406 The test [dedicated|shared]-worker-import-csp.html will inject CSP headers on the top-level document for static import. https://github.com/web-platform-tests/wpt/blob/256877037fa53c4c90e48e7171a69ea0cef0d3be/workers/modules/dedicated-worker-import-csp.html#L21 And the top-level module worker script will 'static import' its descendants. https://github.com/web-platform-tests/wpt/blob/master/workers/modules/resources/static-import-remote-origin-script-worker.sub.js But 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-csp.html?label=experimental&label=master&aligned https://wpt.fyi/results/workers/modules/shared-worker-import-csp.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)
…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)
…worker-import-data-url.window.html from interop-2023-modules Fixing web-platform-tests/interop#406 In this test, The worker will load a data URI, which import another test script statically, and the imported script will import 'export-on-load-script.js', which will be served with the CORS header 'Access-Control-Allow-Origin: *' in /workers/modules/resources/export-on-load-script.js.headers In the test case [Static import (redirect).], 'export-on-load-script.js' will be redirected, and the redirected script doesn't have the CORS header. https://github.com/web-platform-tests/wpt/blob/2cd449b9df6f92862abac0143ac6fe674fd5278e/workers/modules/resources/import-test-cases.js#L13 https://github.com/web-platform-tests/wpt/blob/2cd449b9df6f92862abac0143ac6fe674fd5278e/workers/modules/resources/static-import-redirect-worker.js#L3 The script "export-on-load-script.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.any.html?label=experimental&label=master&aligned https://wpt.fyi/results/workers/modules/dedicated-worker-import-data-url.any.worker.html?label=experimental&label=master&aligned https://wpt.fyi/results/workers/modules/shared-worker-import-data-url.window.html?label=experimental&label=master&aligned So removing these three 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 three files from interop-2023-modules completely)
PR is sent in web-platform-tests/wpt-metadata#4780 |
…dules Fixing web-platform-tests/interop#406 The test [dedicated|shared]-worker-import-csp.html will inject CSP headers on the top-level document for static import. https://github.com/web-platform-tests/wpt/blob/256877037fa53c4c90e48e7171a69ea0cef0d3be/workers/modules/dedicated-worker-import-csp.html#L21 And the top-level module worker script will 'static import' its descendants. https://github.com/web-platform-tests/wpt/blob/master/workers/modules/resources/static-import-remote-origin-script-worker.sub.js But 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-csp.html?label=experimental&label=master&aligned https://wpt.fyi/results/workers/modules/shared-worker-import-csp.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)
…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)
…worker-import-data-url.window.html from interop-2023-modules Fixing web-platform-tests/interop#406 In this test, The worker will load a data URI, which import another test script statically, and the imported script will import 'export-on-load-script.js', which will be served with the CORS header 'Access-Control-Allow-Origin: *' in /workers/modules/resources/export-on-load-script.js.headers In the test case [Static import (redirect).], 'export-on-load-script.js' will be redirected, and the redirected script doesn't have the CORS header. https://github.com/web-platform-tests/wpt/blob/2cd449b9df6f92862abac0143ac6fe674fd5278e/workers/modules/resources/import-test-cases.js#L13 https://github.com/web-platform-tests/wpt/blob/2cd449b9df6f92862abac0143ac6fe674fd5278e/workers/modules/resources/static-import-redirect-worker.js#L3 The script "export-on-load-script.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.any.html?label=experimental&label=master&aligned https://wpt.fyi/results/workers/modules/dedicated-worker-import-data-url.any.worker.html?label=experimental&label=master&aligned https://wpt.fyi/results/workers/modules/shared-worker-import-data-url.window.html?label=experimental&label=master&aligned So removing these three 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 three files from interop-2023-modules completely)
Test List
Rationale
Exact behavior is pending on spec discussion in whatwg/html#9571
The text was updated successfully, but these errors were encountered: