commit 95908f1ce7e039521bc2b47ae740ceecc6eea2b2
parent e2f6330bf426249f22ee5c6be0e75645e679fa2d
Author: Maksim Sadym <69349599+sadym-chromium@users.noreply.github.com>
Date: Sun, 26 Oct 2025 21:12:59 +0000
Bug 1995555 [wpt PR 55572] - [wdspec] fix `realm_destroyed/realm_destroyed.py:test_dedicated_worker`, a=testonly
Automatic update from web-platform-tests
[wdspec] fix `realm_destroyed/realm_destroyed.py:test_dedicated_worker` (#55572)
--
wpt-commits: 3f5ec44b678ae8d0cff0ebcd6d4d3e455488291e
wpt-pr: 55572
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/testing/web-platform/tests/webdriver/tests/bidi/script/realm_destroyed/realm_destroyed.py b/testing/web-platform/tests/webdriver/tests/bidi/script/realm_destroyed/realm_destroyed.py
@@ -264,7 +264,7 @@ async def test_dedicated_worker(
REALM_DESTROYED_EVENT, on_realm_destroyed_event
)
- worker_url = inline("while(true){}", doctype="js")
+ worker_url = inline("setInterval(()=>{}, 1)", doctype="js")
url = inline(
f"""<script>
const worker = new Worker('{worker_url}');