commit a56233fa071d85ea8aa5fd8c9aca4dfaae264520
parent bf265f631714cb9e7049b0255badc95ebf67ca7d
Author: Olivier Li <olivierli@chromium.org>
Date: Thu, 9 Oct 2025 20:34:02 +0000
Bug 1992176 [wpt PR 55182] - Extend timeout duration in reporting-common.js, a=testonly
Automatic update from web-platform-tests
Extend timeout duration in reporting-common.js
Local testing shows that answering code cache requests slowly makes
certain tests like access-from-coop-page-to-opener_coop-ro.https.html
flaky.
This test already appears to be flaky on macOS: https://ci.chromium.org/ui/test/chromium/ninja%3A%2F%2F%3Aheadless_shell_wpt%2Fexternal%2Fwpt%2Fhtml%2Fcross-origin-opener-policy%2Freporting%2Faccess-reporting%2Faccess-from-coop-page-to-opener_coop-ro.https.html?q=V%3Aos%3DMac-15+
Extending the timeout fixes the problem locally and can hopefully
reduce flakiness.
Bug: 446941148
Change-Id: I1c69503ffe846d08d2fd7174051674f46c69d15b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7001360
Reviewed-by: Francois Pierre Doray <fdoray@chromium.org>
Commit-Queue: Olivier Li <olivierli@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1523753}
--
wpt-commits: 7e28de75df3d56b7e6a7b556e5c51dd09c6a1656
wpt-pr: 55182
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/testing/web-platform/tests/html/cross-origin-opener-policy/reporting/resources/reporting-common.js b/testing/web-platform/tests/html/cross-origin-opener-policy/reporting/resources/reporting-common.js
@@ -340,7 +340,7 @@ const receiveReport = async function(uuid, type) {
let reports = await Promise.race([
receive(uuid),
new Promise(resolve => {
- step_timeout(resolve, 1000, "timeout");
+ step_timeout(resolve, 3000, "timeout");
})
]);
if (reports == "timeout")