gecko-dev/dom/performance/tests
Nazım Can Altınova 7d12a36c10 Bug 1969825 - Add a mochitest for pointerdown without an pointerup/pointercancel/contextmenu r=sefeng
I initially tried to write a WPT test for this. But I failed to do so
because the test driver for WPT doesn't accept a pointerdown without any
matching pointer events. So either it just doesn't fire a pointerdown or
it fires pointerup with it. So that's why I chose to write one in
mochitest instead.

The test first fires a pointerdown with no up, and then fires another
pointerdown with an up instead. So the second pointerdown should clear
the old one and set its interactionId to zero. So first one should have
interactionId of zero and the second should have a non-zero
interactionId.

Differential Revision: https://phabricator.services.mozilla.com/D252110
2025-06-02 20:58:35 +00:00
..
empty.js
logo.png
mochitest.toml Bug 1969825 - Add a mochitest for pointerdown without an pointerup/pointercancel/contextmenu r=sefeng 2025-06-02 20:58:35 +00:00
server.sjs
serverTiming.sjs
sharedworker_performance_user_timing.js
test_performance_aborted_status.html
test_performance_interactionid_pointerdown.html Bug 1969825 - Add a mochitest for pointerdown without an pointerup/pointercancel/contextmenu r=sefeng 2025-06-02 20:58:35 +00:00
test_performance_navigation_timing.html
test_performance_observer.html
test_performance_observer.js
test_performance_paint_observer.html
test_performance_paint_observer_helper.html
test_performance_paint_timing.html
test_performance_paint_timing_helper.html
test_performance_server_timing.html
test_performance_server_timing_plain_http.html
test_performance_timing_json.html
test_performance_user_timing.html
test_performance_user_timing.js
test_performance_user_timing_dying_global.html
test_sharedWorker_performance_user_timing.html
test_timeOrigin.html
test_worker_observer.html
test_worker_performance_entries.html
test_worker_performance_entries.js
test_worker_performance_entries.sjs
test_worker_performance_now.html
test_worker_performance_now.js
test_worker_user_timing.html
worker_performance_observer.js
worker_performance_user_timing.js