commit | 245bf895c9c98f7b07cb840c0a553e9dc16f4d09 | [log] [tgz] |
---|---|---|
author | Ian Clelland <iclelland@google.com> | Fri Jan 19 16:12:09 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Jan 19 16:12:09 2018 |
tree | fe0a4691ee27dac4ce879dad9aa6ff26886522df | |
parent | 3fd76c719d897cd8b4cbc47129652853982bb71e [diff] |
Catch unexpected exceptions in sync-xhr test. With this change, only the expected NetworkError from send() will be propagated to the feature policy test framework. Other errors (including NetworkErrors from other calls) will be prefixed with "UnexpectedException:" and will cause the tests to fail. Bug: 661283 Change-Id: I75e2fa6526211cc87c65f5f03e926903ae1ba22e Reviewed-on: https://chromium-review.googlesource.com/874270 Commit-Queue: Philip Jägenstedt <foolip@chromium.org> Reviewed-by: Philip Jägenstedt <foolip@chromium.org> Cr-Commit-Position: refs/heads/master@{#530527}
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 .