Closed Bug 1627103 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 22667 - Reland "[EventTiming] Implement EventCounts"

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox77 fixed)

RESOLVED FIXED
mozilla77
Tracking Status
firefox77 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 22667 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/22667
Details from upstream follow.

Nicolás Peña Moreno <npm@chromium.org> wrote:

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/2134931
WPT-Export-Revision: 1d856646bab189446fb7f8420f64752aa5df4b34

Test result changes from PR not available.
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/81446ac6b509
[wpt PR 22667] - Reland "[EventTiming] Implement EventCounts", a=testonly
https://hg.mozilla.org/integration/autoland/rev/2a99e20f1cbb
[wpt PR 22667] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla77
You need to log in before you can comment on or make changes to this bug.