Use a flag to send events asynchronously without waiting for response
In order to send multiple events in one frame, we want to use "SendCommandAndIgnoreResponse" to dispatch events, but this approach may break some tests which do not wait for the action finish in the tests. We will use a flag which will only be called asynchronously in testdriver Action API, which we use promise to wait for the action finishing. Bug: 999750, 606367 Change-Id: I05c850667c3b9aac95c0d4c7ea210360a48ffa2e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1783243Reviewed-by:John Chen <johnchen@chromium.org> Commit-Queue: Lan Wei <lanwei@chromium.org> Cr-Commit-Position: refs/heads/master@{#693174}
Showing
Please register or sign in to comment