tor-browser

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

commit 947804ef2a98703a99b5e4baf7b0ad5dac0ec0a3
parent 2cf11ce77a1ab8548351e91f870a7b26cd33631c
Author: francovs <34865963+francovs@users.noreply.github.com>
Date:   Thu,  9 Oct 2025 20:33:25 +0000

Bug 1990579 [wpt PR 55047] - [event-timing] Wait for pointerdown instead of mousedown on `retrievability.html`, a=testonly

Automatic update from web-platform-tests
[event-timing] Wait for pointerdown instead of mousedown (#55047)

The event-timing/retrievability.html test assumes a mousedown event
will be generated by test_driver.click(). Assuming a
pointerdown instead is more general.
--

wpt-commits: 28e09e9edd3560eca5fbdb7805124f9d8a9a97da
wpt-pr: 55047

Diffstat:
Mtesting/web-platform/tests/event-timing/retrievability.html | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/testing/web-platform/tests/event-timing/retrievability.html b/testing/web-platform/tests/event-timing/retrievability.html @@ -13,7 +13,7 @@ <script> function validateEntries() { - const entriesByName = performance.getEntriesByName('mousedown', 'event'); + const entriesByName = performance.getEntriesByName('pointerdown', 'event'); const entriesByType = performance.getEntriesByType('event'); const allEntries = performance.getEntries(); assert_equals(entriesByName.length, 0, 'Event Timing entry should not be retrievable by getEntriesByName'); @@ -32,7 +32,7 @@ async_test(function(t) { assert_implements(window.PerformanceEventTiming, 'Event Timing is not supported.'); new PerformanceObserver(t.step_func(entryList => { - if (entryList.getEntriesByName('mousedown').length > 0) { + if (entryList.getEntriesByName('pointerdown').length > 0) { validateEntries(); t.done(); }