[wpt-sync] Sync PR 63855 - Don't require RangeError for stack overflow in SharedWorker-constructor
Categories
(Core :: DOM: Workers, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox162 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 63855 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/63855
Details from upstream follow.
Shannon Booth <shannon.ml.booth@gmail.com> wrote:
Don't require RangeError for stack overflow in SharedWorker-constructor
ECMA-262 doesn't specify what is thrown when the call stack is exhausted, and SpiderMonkey and LibJS throw InternalError rather than RangeError. Expect whatever error the engine throws for stack overflow, found by overflowing the stack first, as the wasm core harness does.
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Updated•17 days ago
|
| Assignee | ||
Updated•13 days ago
|
| Assignee | ||
Comment 1•13 days ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=116934
| Assignee | ||
Comment 2•13 days ago
|
||
CI Results
Ran 9 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] 331[Gecko-windows11-32-25h2-debug] 332[Gecko-windows11-64-25h2-debug] 333[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] 334[Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-opt] 335[Gecko-linux2404-64-debug]
PASS : 7[GitHub] 1497[Gecko-windows11-32-25h2-debug] 1499[Gecko-windows11-64-25h2-debug] 1503[Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview] 1547[Gecko-android-em-14-x86_64-debug-geckoview] 1552[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-opt]
FAIL : 38[Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-opt] 39[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 : 7
Safari
OK : 1
PASS : 7
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /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-32-25h2-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/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
- SharedWorker lifetime should be extended with extendedLifetime:
- /workers/SharedWorker-script-error.html [wpt.fyi]:
ERROR - /workers/Worker-formdata.any.worker.html [wpt.fyi]
- Test FormData interface object:
FAIL
- Test FormData interface object:
- /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-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],SKIP[Gecko-android-em-14-x86_64-debug-geckoview] - /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/abrupt-completion.html [wpt.fyi]
- SharedWorker should correctly handle abrupt completion:
FAIL
- SharedWorker should correctly handle abrupt completion:
- /workers/importscripts_mime_local.any.worker.html [wpt.fyi]:
OK[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,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] - /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-32-25h2-opt,Gecko-windows11-64-25h2-opt],SKIP[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-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-opt],SKIP[Gecko-windows11-32-25h2-debug,Gecko-windows11-64-25h2-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/shared-worker-runtime-error-is-not-parse-error.html [wpt.fyi]
- eval() with syntax error fires at global scope but not at SharedWorker:
FAIL - JSON.parse() error fires at global scope but not at SharedWorker:
FAIL
- eval() with syntax error fires at global scope but not at SharedWorker:
- /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-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],SKIP[Gecko-windows11-32-25h2-debug] - /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-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-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-opt],SKIP[Gecko-windows11-32-25h2-debug,Gecko-windows11-64-25h2-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-32-25h2-opt,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-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,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] - /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.worker.html [wpt.fyi]
- Static import (redirect).:
FAIL
- Static import (redirect).:
- /workers/modules/dedicated-worker-import-data-url.any.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/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-32-25h2-opt,Gecko-windows11-64-25h2-opt] - /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-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],SKIP[Gecko-android-em-14-x86_64-debug-geckoview] - /workers/importscripts_mime_local.any.worker.html [wpt.fyi]:
OK[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,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] - /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-32-25h2-opt,Gecko-windows11-64-25h2-opt],SKIP[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-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-opt],SKIP[Gecko-windows11-32-25h2-debug,Gecko-windows11-64-25h2-debug] - /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-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],SKIP[Gecko-windows11-32-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-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-opt],SKIP[Gecko-windows11-32-25h2-debug,Gecko-windows11-64-25h2-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-32-25h2-opt,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-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,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]
Comment 4•9 days ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/80e9cef90f38
https://hg.mozilla.org/mozilla-central/rev/77262da224ad
Description
•