From f78b2d8d27daa116b157c7be970588fbcd9303df Mon Sep 17 00:00:00 2001 From: Anne van Kesteren Date: Mon, 6 Jan 2020 16:12:14 +0000 Subject: [PATCH] Bug 1606841 [wpt PR 21021] - HTML: attempt to make COEP test less flaky, a=testonly Automatic update from web-platform-tests HTML: attempt to make COEP test less flaky Hopefully addresses https://bugzilla.mozilla.org/show_bug.cgi?id=1605382. -- wpt-commits: e8fdcbaf22bf28238bb126d84bc960fe9625fe02 wpt-pr: 21021 --- .../tests/html/cross-origin-embedder-policy/none.https.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/testing/web-platform/tests/html/cross-origin-embedder-policy/none.https.html b/testing/web-platform/tests/html/cross-origin-embedder-policy/none.https.html index f13a75230116..7f296e604414 100644 --- a/testing/web-platform/tests/html/cross-origin-embedder-policy/none.https.html +++ b/testing/web-platform/tests/html/cross-origin-embedder-policy/none.https.html @@ -41,13 +41,13 @@ async_test(t => { const w = window.open(`resources/navigate-none.sub.html?to=navigate-require-corp.sub.html`, "window_name"); t.add_cleanup(() => w.close()); - t.step_timeout(() => { + w.onload = t.step_func(() => { w.history.back(); t.step_timeout(() => { assert_not_equals(w.document, null); t.done(); - }, 500); - }, 500); + }, 1500); + }); }, `"none" top-level: navigating a frame back from "require-corp" should succeed`); async_test(t => {