commit 9c59b011fc4ad972f4ae7f859096fc5834dc5c73
parent a0615e8f30d36fa0301a7d0fbd31a02c84c52f23
Author: Jan-Niklas Jaeschke <jjaschke@mozilla.com>
Date: Tue, 21 Oct 2025 07:57:12 +0000
Bug 1995211 - Give find-in-page browser test a bit more time. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D269341
Diffstat:
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/toolkit/content/tests/browser/browser_findbar_hidden_beforematch.js b/toolkit/content/tests/browser/browser_findbar_hidden_beforematch.js
@@ -5,6 +5,12 @@
// content (hidden=until-found and closed <details> elements) by triggering
// the ancestor revealing algorithm and firing beforematch events.
+/**
+ * Request 2x longer timeout for this test.
+ * The tests can take a bit longer, which can cause timeouts on debug builds.
+ */
+requestLongerTimeout(2);
+
const TEST_PAGE_URI =
"data:text/html;charset=utf-8," +
encodeURIComponent(`