tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit 285ee6c3ec536ada363ccd6c8a0a28d399c29a61
parent 11604535caa6981f93b110c23bb912fb6e77b8f3
Author: Emilio Cobos Álvarez <emilio@crisal.io>
Date:   Mon,  3 Nov 2025 20:17:28 +0000

Bug 1997991 - Improve test_input_vsync_alignment_lower_than_normal.html. r=layout-reviewers,dshin

This test calls runTest() immediately. A patch of mine triggers failures
on this test and I noticed this. This also makes it clearer what's going
on if the test times out.

Differential Revision: https://phabricator.services.mozilla.com/D271119

Diffstat:
Mdom/base/test/test_input_vsync_alignment_lower_than_normal.html | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dom/base/test/test_input_vsync_alignment_lower_than_normal.html b/dom/base/test/test_input_vsync_alignment_lower_than_normal.html @@ -12,6 +12,7 @@ let runOrder = []; function checkResult() { if (runOrder.length == 3) { + info(`Checking run: ${JSON.stringify(runOrder)}`); if (runOrder[0] === "Normal") { isDeeply( runOrder, @@ -45,7 +46,7 @@ SpecialPowers.pushPrefEnv({ set: [["dom.input_events.strict_input_vsync_alignment", true]] - }, runTest()); + }).then(runTest); </script> </body> </html>