Closed Bug 2095114 Opened 10 days ago Closed 8 days ago

[wpt-sync] Sync PR 65052 - [EventTiming] Deflake keydown-without-paint.tentative.html

Categories

(Core :: DOM: Performance APIs, task, P4)

task

Tracking

()

RESOLVED FIXED
163 Branch
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 \< 60 on 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 push duration to

= 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 + 8 to 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}

Component: web-platform-tests → DOM: Performance APIs
Product: Testing → Core

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

GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/46104b957ab3 https://hg.mozilla.org/integration/autoland/rev/0bbe9e68d06c [wpt PR 65052] - [EventTiming] Deflake keydown-without-paint.tentative.html, a=testonly
Status: NEW → RESOLVED
Closed: 8 days ago
Resolution: --- → FIXED
Target Milestone: --- → 163 Branch
You need to log in before you can comment on or make changes to this bug.