Closed Bug 2033546 Opened 1 month ago Closed 1 month ago

[wpt-sync] Sync PR 59346 - [WPT] Fix timeout in SharedWorker-extendedLifetime.html

Categories

(Core :: DOM: Workers, task, P4)

task

Tracking

()

RESOLVED FIXED
152 Branch
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:

  1. Uses a unique URL (with token) for the SharedWorker to prevent
    interference with other tests.
  2. Consolidates logic into a single execute_script call to reduce
    communication overhead and ensure a clean helper-based structure.
  3. 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}

PR 59346 applied with additional changes from upstream: 4fa4af67c276697b8ef267b22ab7c11a577e810d, ec297b25a5cdaddf21df0503726be93f5ce58c11, d0039036540f48efdb5bb0bc69b86effbbd76cb7, 09c171f3354bffad1a3df6be3ba1390e92679ec0

Component: web-platform-tests → DOM: Workers
Product: Testing → Core

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

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]
Pushed by wptsync@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/c51228676008 https://hg.mozilla.org/integration/autoland/rev/d9e285d60b13 [wpt PR 59346] - [WPT] Fix timeout in SharedWorker-extendedLifetime.html, a=testonly
Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 152 Branch
You need to log in before you can comment on or make changes to this bug.