Closed Bug 1566880 Opened 6 years ago Closed 6 years ago

[wpt-sync] Sync PR 17885 - Use promise in wpt pointer event tests to end the tests

Categories

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

task

Tracking

()

RESOLVED FIXED
mozilla70
Tracking Status
firefox70 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Lan Wei <lanwei@chromium.org> wrote:

Use promise in wpt pointer event tests to end the tests

Instead of adding a variable to check if the test should be finished,
we can create a promise object and end the test at its last callback.

Bug: 606367
Change-Id: I6be3a61db1f54fa88b56e919b8be6dfa318b21c0

Reviewed-on: https://chromium-review.googlesource.com/1704865
WPT-Export-Revision: 7c4cbc010d784891d287925e4ae470cee783e048

Component: web-platform-tests → DOM: Events
Product: Testing → Core
Type: -- → task
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/cc89f0920b38 [wpt PR 17885] - Use promise in wpt pointer event tests to end the tests, a=testonly
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla70
You need to log in before you can comment on or make changes to this bug.