Skip to content

armgit / moli

Public Imported from GitHub
0

Best headless browser for AI agents. Lite, Fast, High-Compatibility. Built in Rust

test(wpt): allow worker errors within the case timeout

ldm00423b34df4b0
diff --git a/moli-wpt-compat/fixtures/wpt/ported/worker/worker-error-basic.html b/moli-wpt-compat/fixtures/wpt/ported/worker/worker-error-basic.html
index 19f2704c2..da4946dd4 100644
--- a/moli-wpt-compat/fixtures/wpt/ported/worker/worker-error-basic.html
+++ b/moli-wpt-compat/fixtures/wpt/ported/worker/worker-error-basic.html
@@ -11,9 +11,11 @@ function wait(ms) {
}
function wait_for(promise, description) {
+ // Allow Worker startup under full-workspace nextest while keeping both
+ // error-delivery checks within the manifest's five-second case budget.
return Promise.race([
promise,
- wait(250).then(function () {
+ wait(2000).then(function () {
throw new Error("timed out waiting for " + description);
}),
]);