Closed Bug 1553594 Opened 5 years ago Closed 5 years ago

[wpt-sync] Sync PR 16955 - Use promise in wpt pointer event tests to finish the tests

Categories

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

defect

Tracking

()

RESOLVED FIXED
mozilla69
Tracking Status
firefox69 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync upstream error])

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

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

Lan Wei <lanwei@chromium.org> wrote:

Use promise in wpt pointer event tests to finish the tests

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

Bug: 606367
Change-Id: Iabf281a1fffca85630683e79436a8b442057b824

Reviewed-on: https://chromium-review.googlesource.com/1618002
WPT-Export-Revision: db87e07644cfa08c3ef3b7feadec1e6bf474ea7f

Whiteboard: [wptsync downstream] → [wptsync downstream error]
Component: web-platform-tests → DOM: Events
Product: Testing → Core
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/382917db41b0
[wpt PR 16955] - Use promise in wpt pointer event tests to finish the tests, a=testonly
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla69
Whiteboard: [wptsync downstream] → [wptsync upstream error]
You need to log in before you can comment on or make changes to this bug.