Bug 1635342 [wpt PR 23400] - [EventTiming] Add a test for auxclick, a=testonly
commit3b4552162b29676424eee3dd5615298877fe1ece
authorNicolás Peña Moreno <npm@chromium.org>
Wed, 13 May 2020 09:41:13 +0000 (13 09:41 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Wed, 20 May 2020 10:28:18 +0000 (20 10:28 +0000)
treeb18faf875f0f092314b2c6f1a4c044a668e69e5c
parentce0a09c66486831381503e3bd777df8535e2a61e
Bug 1635342 [wpt PR 23400] - [EventTiming] Add a test for auxclick, a=testonly

Automatic update from web-platform-tests
[EventTiming] Add a test for auxclick

This CL adds a helper function to add a test for an event type. The test
will add two fast events of the event type and one slow one and test
that the eventCounts as well as the entry in the PerformanceObserver for
the slow event.

Bug: 543598
Change-Id: I37da66424e7ea353b99787c578b26e3322cd984e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2181147
Commit-Queue: Nicolás Peña Moreno <npm@chromium.org>
Reviewed-by: Yoav Weiss <yoavweiss@chromium.org>
Cr-Commit-Position: refs/heads/master@{#765537}

--

wpt-commits: 471e15e649002cb334f8b89d8b4a9ebb5122e437
wpt-pr: 23400
testing/web-platform/tests/event-timing/auxclick.html [new file with mode: 0644]
testing/web-platform/tests/event-timing/resources/event-timing-test-utils.js