[wpt-sync] Sync PR 49320 - Fix leak in single-touch.html
Categories
(Core :: DOM: Events, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox135 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
(Blocks 1 open bug, )
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 49320 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/49320
Details from upstream follow.
Kevin Ellis <kevers@google.com> wrote:
Fix leak in single-touch.html
This test could trigger leak detection since not waiting on pointerup
after all of the async tests have completed.Actions().send() does not wait on the dispatched events to be handled.
Each async test marked itself as done once the expected event was
received. Refactored to be a promise driven test.2 flakes out of 100 runs without the fix.
0 flakes out of 500 runs with the fix.Bug: 40945204
Change-Id: I5468e3bc67ecdfa5c09e53a705abdcbc22024cde
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6033293
Commit-Queue: Kevin Ellis \<kevers@chromium.org>
Reviewed-by: Mustaq Ahmed \<mustaq@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1386408}
| Assignee | ||
Updated•1 year ago
|
| Assignee | ||
Comment 1•1 year ago
|
||
| Assignee | ||
Comment 2•1 year ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 227 subtests
Status Summary
Firefox
OK : 1
PASS : 226
FAIL : 1
Chrome
OK : 1
PASS : 227
Safari
FAIL : 1
ERROR: 1
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /touch-events/single-touch.html [wpt.fyi]
- Verify touch events for a single touch drag operation:
FAIL(Chrome:PASS, Safari:FAIL)
- Verify touch events for a single touch drag operation:
Comment 4•1 year ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/7b09664e69cf
https://hg.mozilla.org/mozilla-central/rev/bc337a76c2d0
Description
•