commit | 703b5aa8db0166592331b4b364f080f971809a6d | [log] [tgz] |
---|---|---|
author | bsheedy <bsheedy@chromium.org> | Fri May 10 22:11:17 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Fri May 10 22:11:17 2019 |
tree | 4395a19bf46a30c9f25de002c7abb7fb84ed5873 | |
parent | 46785cebc697e818ed846c76559a83851af49c47 [diff] |
More clearly point out XR JavaScript failures Makes the first (and thus fatal) failure from JavaScript more clear in the XR browser tests. This is achieved by adding logging to point the user towards the failure and stack that are actually useful for debugging. This is a workaround for a limitation of browser tests in general. FAIL() and other fatal macros provided by gtest only abort the current function. Since all the JavaScript execution is handled by helper functions, this means that even if we catch a failure in JavaScript and report it as a failure, the browser test will continue to run. This can then cause debugging issues because errors/stack traces from later on in the test end up getting printed as well since the test is continuing to run in a bad state. Bug: 961378 Change-Id: Iafd4892dc7d5307fa35848a855d5f1c76bd27095 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1605340 Auto-Submit: Brian Sheedy <bsheedy@chromium.org> Commit-Queue: Bill Orr <billorr@chromium.org> Reviewed-by: Bill Orr <billorr@chromium.org> Cr-Commit-Position: refs/heads/master@{#658773}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .