[wpt-sync] Sync PR 65052 - [EventTiming] Deflake keydown-without-paint.tentative.html
Categories
(Core :: DOM: Performance APIs, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox163 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 65052 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/65052
Details from upstream follow.
Michal Mocny <mmocny@chromium.org> wrote:
[EventTiming] Deflake keydown-without-paint.tentative.html
Previously, keydown-without-paint.tentative.html asserted a hardcoded
duration \< 60on both 30ms keydown entries. On slower or busy test
runners, input queuing delay (processingStart - startTime) or event
batching across the two back-to-back keydowns can pushdurationto= 60ms even though no repaint occurred.
Instead of a hardcoded 60ms ceiling, assert that each entry's end time
(startTime + duration) is bounded by the end of the event batch
(entries[1].processingEnd + 8to account for 8ms duration rounding
granularity).Bug: 523965329
Change-Id: I73ab1e06aa7fbb0ef3bcf7868e5a5bfd6a6a6964
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8788380
Commit-Queue: Michal Mocny \<mmocny@chromium.org>
Reviewed-by: Scott Haseley \<shaseley@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1742092}
| Assignee | ||
Updated•10 days ago
|
| Assignee | ||
Comment 1•10 days ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=122797
| Assignee | ||
Comment 2•10 days ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, and Chrome on GitHub CI
Total 1 tests and 1 subtests
Status Summary
Firefox
OK : 1
PASS: 1
Chrome
OK : 1
PASS: 1
Links
Comment 4•8 days ago
|
||
| bugherder | ||
Description
•