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/c/chromium/src/+/1704865Reviewed-by:Navid Zolghadr <nzolghadr@chromium.org> Commit-Queue: Lan Wei <lanwei@chromium.org> Cr-Commit-Position: refs/heads/master@{#684399}
Showing
Please register or sign in to comment