[EventTiming] Use polling in performance.eventCounts test
It looks like actions.send() does not wait for the events to get processed in order to resolve the promise, which means eventCounts may not be populated by the time we begin testing it. Hence, in this CL we perform a polling-based approach. Sample failure: https://isolateserver.appspot.com/browse?namespace=default-gzip&digest=8e7df6aa16ccbffabef2b11c5f2d9aaa02d396c1&as=layout-test-results%5Cexternal%5Cwpt%5Cevent-timing%5Cmouseover-actual.txt Bug: 1074048 Change-Id: I58629d66ad146fd435fc95fb875f21a96f5470a2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2212497Reviewed-by:Yoav Weiss <yoavweiss@chromium.org> Commit-Queue: Nicolás Peña Moreno <npm@chromium.org> Cr-Commit-Position: refs/heads/master@{#771778}
Showing
Please register or sign in to comment