[wpt-sync] Sync PR 59346 - [WPT] Fix timeout in SharedWorker-extendedLifetime.html
Categories
(Core :: DOM: Workers, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox152 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 59346 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/59346
Details from upstream follow.
Yoshisto Yanagisawa <yyanagisawa@chromium.org> wrote:
[WPT] Fix timeout in SharedWorker-extendedLifetime.html
Intermittent timeouts on wpt.fyi were likely caused by SharedWorker
URL conflicts and communication overhead. This change:
- Uses a unique URL (with token) for the SharedWorker to prevent
interference with other tests.- Consolidates logic into a single execute_script call to reduce
communication overhead and ensure a clean helper-based structure.- Properly verifies the reqid in message responses.
Bug: 400473072
Change-Id: Idc2107be2cebd386f5912f624f97cded025f1252
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7771649
Reviewed-by: Minoru Chikamune \<chikamune@chromium.org>
Commit-Queue: Yoshisato Yanagisawa \<yyanagisawa@chromium.org>
Commit-Queue: Minoru Chikamune \<chikamune@chromium.org>
Auto-Submit: Yoshisato Yanagisawa \<yyanagisawa@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1617373}
| Assignee | ||
Comment 1•1 month ago
|
||
PR 59346 applied with additional changes from upstream: 4fa4af67c276697b8ef267b22ab7c11a577e810d, ec297b25a5cdaddf21df0503726be93f5ce58c11, d0039036540f48efdb5bb0bc69b86effbbd76cb7, 09c171f3354bffad1a3df6be3ba1390e92679ec0
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Comment 2•1 month ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=621aae861dee9aeb494db7a1ed9a04e589edc138
| Assignee | ||
Comment 3•1 month ago
|
||
CI Results
Ran 8 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 336 tests and 1 subtests
Status Summary
Firefox
OK : 1[GitHub] 327[Gecko-linux2404-64-debug] 330[Gecko-windows11-32-25h2-debug] 331[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-windows11-64-25h2-debug] 332[Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 333[Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-opt]
PASS : 1484[Gecko-windows11-32-25h2-debug] 1486[Gecko-windows11-64-25h2-debug] 1490[Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 1530[Gecko-android-em-14-x86_64-debug-geckoview] 1539[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-opt]
FAIL : 1[GitHub] 39[Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-opt] 40[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-windows11-32-25h2-debug, Gecko-windows11-64-25h2-debug]
ERROR: 1
Chrome
OK : 1
PASS : 1
Safari
OK : 1
FAIL : 1
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /workers/examples/general.worker.html [wpt.fyi]:
OK[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],SKIP[Gecko-windows11-32-25h2-debug] - /workers/importscripts_mime_local.any.sharedworker.html [wpt.fyi]:
OK[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-64-25h2-opt],SKIP[Gecko-windows11-32-25h2-debug,Gecko-windows11-64-25h2-debug] - /workers/interfaces/WorkerUtils/importScripts/report-error-redirect-to-cross-origin.sub.any.worker.html [wpt.fyi]:
OK[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-opt,Gecko-windows11-64-25h2-opt],SKIP[Gecko-linux2404-64-debug,Gecko-windows11-32-25h2-debug,Gecko-windows11-64-25h2-debug] - /workers/nested_worker.worker.html [wpt.fyi]:
OK[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-opt,Gecko-windows11-64-25h2-opt],SKIP[Gecko-linux2404-64-debug,Gecko-windows11-32-25h2-debug,Gecko-windows11-64-25h2-debug] - /workers/shared-worker-from-blob-url.window.html [wpt.fyi]:
SKIP - /workers/SharedWorker-constructor.html [wpt.fyi]
- Test recursive worker creation results in exception.:
FAIL
- Test recursive worker creation results in exception.:
- /workers/SharedWorker-extendedLifetime-named-module.html [wpt.fyi]
- Named SharedWorker should survive across navigations with extendedLifetime:
FAIL - Module SharedWorker should survive across navigations with extendedLifetime:
FAIL
- Named SharedWorker should survive across navigations with extendedLifetime:
- /workers/SharedWorker-extendedLifetime.html [wpt.fyi]
- SharedWorker lifetime should be extended with extendedLifetime:
FAIL(Chrome:PASS, Safari:FAIL)
- SharedWorker lifetime should be extended with extendedLifetime:
- /workers/SharedWorker-script-error.html [wpt.fyi]:
ERROR - /workers/Worker-creation-happens-in-parallel.https.html [wpt.fyi]:
OK[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-windows11-32-25h2-debug,Gecko-windows11-64-25h2-debug],SKIP[Gecko-linux2404-64-opt,Gecko-windows11-64-25h2-opt]- Tests that creation of a "new Worker()" will occur in parallel:
FAIL
- Tests that creation of a "new Worker()" will occur in parallel:
- /workers/Worker-formdata.any.worker.html [wpt.fyi]
- Test FormData interface object:
FAIL
- Test FormData interface object:
- /workers/Worker-messageport.html [wpt.fyi]:
OK[Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],SKIP[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-linux2404-64-debug] - /workers/WorkerNavigator_appName.htm [wpt.fyi]:
OK[Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],SKIP[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-linux2404-64-debug] - /workers/WorkerNavigator_userAgentData.https.html [wpt.fyi]
- Test that userAgentData is available in workers in secure contexts:
FAIL - Platform version and wow64-ness on Linux and Fuchsia should contain fixed values:
FAIL
- Test that userAgentData is available in workers in secure contexts:
- /workers/importscripts_mime_local.any.worker.html [wpt.fyi]:
OK[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],SKIP[Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug] - /workers/shared-worker-in-data-url-context.window.html [wpt.fyi]
- Create a shared worker in a data url frame:
FAIL - Create a data url shared worker in a data url frame:
FAIL
- Create a shared worker in a data url frame:
- /workers/shared-worker-options-mismatch.html [wpt.fyi]
- Connecting to shared worker with different options should be blocked: default to extended in classic:
FAIL - Connecting to shared worker with different options should be blocked: extended to default in classic:
FAIL - Connecting to shared worker with different options should be blocked: true to false in classic:
FAIL - Connecting to shared worker with different options should be blocked: false to true in classic:
FAIL - Connecting to shared worker with different options should be blocked: default to extended in module:
FAIL - Connecting to shared worker with different options should be blocked: extended to default in module:
FAIL - Connecting to shared worker with different options should be blocked: true to false in module:
FAIL - Connecting to shared worker with different options should be blocked: false to true in module:
FAIL
- Connecting to shared worker with different options should be blocked: default to extended in classic:
- /workers/shared-worker-partitioned-cookies.tentative.https.html [wpt.fyi]
- Service Worker: Partitioned Cookies 3P Iframe:
FAIL
- Service Worker: Partitioned Cookies 3P Iframe:
- /workers/baseurl/alpha/sharedworker-in-worker.html [wpt.fyi]
- Base URL in workers: new SharedWorker():
FAIL
- Base URL in workers: new SharedWorker():
- /workers/constructors/Worker/expected-self-properties.worker.html [wpt.fyi]
- existence of SharedWorker:
FAIL
- existence of SharedWorker:
- /workers/interfaces/SharedWorkerGlobalScope/onconnect.html [wpt.fyi]
- onconnect:
FAIL
- onconnect:
- /workers/interfaces/WorkerUtils/importScripts/blob-url.worker.html [wpt.fyi]
- A revoked blob URL will fail:
FAIL
- A revoked blob URL will fail:
- /workers/interfaces/WorkerUtils/importScripts/report-error-setTimeout-cross-origin.sub.any.worker.html [wpt.fyi]:
OK[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],SKIP[Gecko-linux2404-64-debug] - /workers/interfaces/WorkerUtils/importScripts/report-error-setTimeout-cross-origin.sub.any.sharedworker.html [wpt.fyi]:
OK[Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],SKIP[Gecko-android-em-14-x86_64-debug-geckoview] - /workers/interfaces/WorkerUtils/navigator/002.html [wpt.fyi]:
OK[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],SKIP[Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug] - /workers/modules/dedicated-worker-import-csp.html [wpt.fyi]
- worker-src 'self' directive should disallow cross origin static import.:
FAIL - script-src 'self' directive should disallow cross origin static import.:
FAIL - worker-src 'self' directive should override script-src * directive and disallow cross origin static import.:
FAIL
- worker-src 'self' directive should disallow cross origin static import.:
- /workers/modules/dedicated-worker-import-data-url-cross-origin.html [wpt.fyi]
- static import script from data: URL should be allowed.:
FAIL
- static import script from data: URL should be allowed.:
- /workers/modules/dedicated-worker-import-data-url.any.html [wpt.fyi]
- Static import (redirect).:
FAIL
- Static import (redirect).:
- /workers/modules/dedicated-worker-import-data-url.any.worker.html [wpt.fyi]
- Static import (redirect).:
FAIL
- Static import (redirect).:
- /workers/modules/shared-worker-import-csp.html [wpt.fyi]
- worker-src 'self' directive should disallow cross origin static import.:
FAIL - script-src 'self' directive should disallow cross origin static import.:
FAIL - worker-src 'self' directive should override script-src * directive and disallow cross origin static import.:
FAIL
- worker-src 'self' directive should disallow cross origin static import.:
- /workers/modules/shared-worker-import-data-url-cross-origin.html [wpt.fyi]
- static import script from data: URL should be allowed.:
FAIL
- static import script from data: URL should be allowed.:
- /workers/modules/shared-worker-import-data-url.window.html [wpt.fyi]
- Static import (redirect).:
FAIL
- Static import (redirect).:
- /workers/same-site-cookies/first-party.none.tentative.https.window.html [wpt.fyi]
- Check SharedWorker sameSiteCookies option none for first-party:
FAIL
- Check SharedWorker sameSiteCookies option none for first-party:
- /workers/same-site-cookies/third-party.all.tentative.sub.https.window.html [wpt.fyi]
- Check SharedWorker sameSiteCookies option all for third-party:
FAIL
- Check SharedWorker sameSiteCookies option all for third-party:
- /workers/same-site-cookies/third-party.default.tentative.sub.https.window.html [wpt.fyi]
- Check SharedWorker sameSiteCookies option default for third-party:
FAIL
- Check SharedWorker sameSiteCookies option default for third-party:
- /workers/same-site-cookies/third-party.none.tentative.sub.https.window.html [wpt.fyi]
- Check SharedWorker sameSiteCookies option none for third-party:
FAIL
- Check SharedWorker sameSiteCookies option none for third-party:
- /workers/semantics/reporting-errors/003.html [wpt.fyi]
- shared worker, no error event on worker or port:
FAIL
- shared worker, no error event on worker or port:
- /workers/semantics/reporting-errors/004.html [wpt.fyi]
- shared worker in two documents and window.onerror:
FAIL
- shared worker in two documents and window.onerror:
Tests Disabled in Gecko Infrastructure
- /workers/examples/general.worker.html [wpt.fyi]:
OK[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],SKIP[Gecko-windows11-32-25h2-debug] - /workers/importscripts_mime_local.any.sharedworker.html [wpt.fyi]:
OK[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-64-25h2-opt],SKIP[Gecko-windows11-32-25h2-debug,Gecko-windows11-64-25h2-debug] - /workers/interfaces/WorkerUtils/importScripts/report-error-redirect-to-cross-origin.sub.any.worker.html [wpt.fyi]:
OK[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-opt,Gecko-windows11-64-25h2-opt],SKIP[Gecko-linux2404-64-debug,Gecko-windows11-32-25h2-debug,Gecko-windows11-64-25h2-debug] - /workers/nested_worker.worker.html [wpt.fyi]:
OK[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-opt,Gecko-windows11-64-25h2-opt],SKIP[Gecko-linux2404-64-debug,Gecko-windows11-32-25h2-debug,Gecko-windows11-64-25h2-debug] - /workers/shared-worker-from-blob-url.window.html [wpt.fyi]:
SKIP - /workers/Worker-creation-happens-in-parallel.https.html [wpt.fyi]:
OK[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-windows11-32-25h2-debug,Gecko-windows11-64-25h2-debug],SKIP[Gecko-linux2404-64-opt,Gecko-windows11-64-25h2-opt] - /workers/Worker-messageport.html [wpt.fyi]:
OK[Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],SKIP[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-linux2404-64-debug] - /workers/WorkerNavigator_appName.htm [wpt.fyi]:
OK[Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],SKIP[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-linux2404-64-debug] - /workers/importscripts_mime_local.any.worker.html [wpt.fyi]:
OK[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],SKIP[Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug] - /workers/interfaces/WorkerUtils/importScripts/report-error-setTimeout-cross-origin.sub.any.worker.html [wpt.fyi]:
OK[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],SKIP[Gecko-linux2404-64-debug] - /workers/interfaces/WorkerUtils/importScripts/report-error-setTimeout-cross-origin.sub.any.sharedworker.html [wpt.fyi]:
OK[Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],SKIP[Gecko-android-em-14-x86_64-debug-geckoview] - /workers/interfaces/WorkerUtils/navigator/002.html [wpt.fyi]:
OK[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],SKIP[Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug]
Description
•