Closed Bug 1761887 Opened 8 months ago Closed 8 months ago

[wpt-sync] Sync PR 33398 - Add a EventWatcher to wait for the event to end the test

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox100 fixed)

RESOLVED FIXED
100 Branch
Tracking Status
firefox100 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Lan Wei <lanwei@chromium.org> wrote:

Add a EventWatcher to wait for the event to end the test

The test is flaky because we may end the test before we actually receive
the touchmove events and make the layout shift on the page. We add a
EventWatcher to end the test until we receive the pointerup event in
renderer, so we can guarantee that the page has the layout shift caused
by the touchmove event.

Bug: 1295135
Change-Id: I057b7f26878779502f08b6aeaefb0536817bf14a

Reviewed-on: https://chromium-review.googlesource.com/3552391
WPT-Export-Revision: 5dd160b4220236b5b6c7cc303a1e812194bca54e

CI Results

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

Total 1 tests and 1 subtests

Status Summary

Firefox

OK : 1
FAIL: 1

Chrome

OK : 1
PASS: 1

Safari

OK : 1
FAIL: 1

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/layout-instability/pointermove-becomes-drag.html
No Shift in pointerdown reported when it becomes a touch drag.: FAIL (Chrome: PASS, Safari: FAIL)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b156c442d8dc
[wpt PR 33398] - Add a EventWatcher to wait for the event to end the test, a=testonly
Status: NEW → RESOLVED
Closed: 8 months ago
Resolution: --- → FIXED
Target Milestone: --- → 100 Branch
You need to log in before you can comment on or make changes to this bug.