Closed Bug 1637697 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 23571 - De-flaky some pointerevents wpt tests

Categories

(Core :: DOM: Events, task, P4)

task

Tracking

()

RESOLVED FIXED
mozilla78
Tracking Status
firefox78 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Lan Wei <lanwei@chromium.org> wrote:

De-flaky some pointerevents wpt tests

Because of Linux memory leak, pointerevent wpt tests
pointerevent_lostpointercapture_is_first.html,
pointerevent_pointerleave_descendant_over.html and
pointerevent_setpointercapture_invalid_pointerid.html are flaky, we
should finish the test in the actions promise's callback to guarantee
the actions are all executed before the test finishes to avoid memory
leak.

Bug: 998948
Change-Id: I3ccfd7dd23b8ac1165cec8f890ddb3c359dd9b4b

Reviewed-on: https://chromium-review.googlesource.com/2197525
WPT-Export-Revision: b6270d20d0da7e316975c4a0f3381bf3d848ed16

Component: web-platform-tests → DOM: Events
Product: Testing → Core

CI Results

Ran 12 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 74 tests

Status Summary

Firefox

OK : 3
PASS: 2[GitHub] 73[Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-debug, Gecko-windows10-64-opt, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug, Gecko-windows7-32-opt]
FAIL: 1

Chrome

OK : 3
PASS: 3

Safari

OK : 3
PASS: 3

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

Firefox-only Failures

/pointerevents/pointerevent_setpointercapture_invalid_pointerid.html
setPointerCapture: DOMException NotFoundError: FAIL

New Tests That Don't Pass

/pointerevents/pointerevent_setpointercapture_invalid_pointerid.html
setPointerCapture: DOMException NotFoundError: FAIL (Chrome: PASS, Safari: PASS)

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f3f002b0056e [wpt PR 23571] - De-flaky some pointerevents wpt tests - Part 1, a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla78
You need to log in before you can comment on or make changes to this bug.