Refactor VR instrumentation test waits
Refactors waitOnJavaScriptStep to be more strict. The behavior should be identical to the old implementation except: 1. Attempting to use waitOnJavaScriptStep without the proper JavaScript code to do so results in a failure. 2. JavaScript test failures that occur while waiting for a step are caught and reported immediately instead of whenever Java calls endTest. Bug: Change-Id: I2ce955f31c6c90355400f42b2f66c5ff4b042538 Reviewed-on: https://chromium-review.googlesource.com/809386Reviewed-by:agrieve <agrieve@chromium.org> Reviewed-by:
Michael Thiessen <mthiesse@chromium.org> Commit-Queue: Brian Sheedy <bsheedy@chromium.org> Cr-Commit-Position: refs/heads/master@{#521802}
Showing
Please register or sign in to comment