Bug 1627103 [wpt PR 22667] - Reland "[EventTiming] Implement EventCounts", a=testonly
commit6e959bf6854f5801d5b4e47f094ddc53b67e37e6
authorNicolás Peña Moreno <npm@chromium.org>
Fri, 10 Apr 2020 14:27:53 +0000 (10 14:27 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Mon, 13 Apr 2020 14:08:10 +0000 (13 14:08 +0000)
treeac33506efc3afc7ccd7a4bc1cc7626c835f7af2b
parent6544426f9e0dedffee641e60287e0b45920eac24
Bug 1627103 [wpt PR 22667] - Reland "[EventTiming] Implement EventCounts", a=testonly

Automatic update from web-platform-tests
Reland "[EventTiming] Implement EventCounts"

This is a reland of 7d25a90d61ddc8c7475d96f84173f925e1eb2d4e

The test needed some fixes.

Original change's description:
> [EventTiming] Implement EventCounts
>
> This CL adds support for performance.eventCounts, gated behind the
> EventTiming flag. EventCounts is maplike and enables computing the
> number of input events that have occurred for any of the supported event
> types. It is populated on WindowPerformance::RegisterEventTiming so that
> it matches when timing with when the PerformanceEventTiming entry is
> created for slow events. The spec for this is here:
> https://wicg.github.io/event-timing/#sec-event-counts
>
> Bug: 543598
>
> Change-Id: I95bd8b977556557811a1eff8d9fc5d106af0d2b1
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2125019
> Commit-Queue: Nicolás Peña Moreno <npm@chromium.org>
> Reviewed-by: Yoav Weiss <yoavweiss@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#755468}

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

--

wpt-commits: 8687eeb366f4e35ce34e07607f9850211e3d6dd8
wpt-pr: 22667
testing/web-platform/tests/event-timing/event-click-counts.html [new file with mode: 0644]