Fix XR controller test race condition
Fixes a race condition in XR tests that use the test_gamepad_button.html test page. It was possible for finishJavaScriptStep() to be called multiple times before the Java/C++ code could ack the first one, leading to test failures. Bug: 990843 Change-Id: I6e1a92c9cc3512862fb6441a1bad5efecff3a83c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1736801 Commit-Queue: Brian Sheedy <bsheedy@chromium.org> Reviewed-by:Alexander Cooper <alcooper@chromium.org> Cr-Commit-Position: refs/heads/master@{#684120}
Showing
Please register or sign in to comment