Bug 1805971 [wpt PR 37533] - Fix a flaky WPT for coalesced PointerEvents without...
commit73b10ff2828cfd8b480d932e22c25fbae8d87841
authorMustaq Ahmed <mustaq@google.com>
Tue, 20 Dec 2022 11:43:11 +0000 (20 11:43 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Wed, 21 Dec 2022 19:34:32 +0000 (21 19:34 +0000)
treec4b52840bd2e654cf3e7fb02c57f906bde2271eb
parent8e8720f667fa1e9323d81c30647c33a10949d94c
Bug 1805971 [wpt PR 37533] - Fix a flaky WPT for coalesced PointerEvents without losing coverage., a=testonly

Automatic update from web-platform-tests
Fix a flaky WPT for coalesced PointerEvents without losing coverage.

The old test pointerevent_coalesced_events_attributes.html relied on a
slow event handler which caused frequent timeouts.  This CL splits the
test into a fast test for basic attributes, and a slow test that
forces event coalescing for a comprehensive test.  The latter test
gradually increases the load of an event handler starting at just 8ms
and doubles it after every 5 events to find the smallest possible jank that forces coalescing.

Bug: 1059645
Change-Id: I693ce332ec5a64b3fcac02081dc47dbe8214ff82
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4111683
Reviewed-by: Robert Flack <flackr@chromium.org>
Commit-Queue: Mustaq Ahmed <mustaq@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1084403}

--

wpt-commits: afc802d3e2008f2cd6c31e0df4a6d7c5c7e83052
wpt-pr: 37533
testing/web-platform/tests/pointerevents/coalesced_events_attributes.html [new file with mode: 0644]
testing/web-platform/tests/pointerevents/coalesced_events_attributes_under_load.html [new file with mode: 0644]
testing/web-platform/tests/pointerevents/pointerevent_coalesced_events_attributes.html [deleted file]