commit | 8c3c7f80a11cde75fb92bddd9375bcf04943f53f | [log] [tgz] |
---|---|---|
author | Fergal Daly <fergal@chromium.org> | Wed Jan 19 02:19:01 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Jan 19 02:19:01 2022 |
tree | 47d557a47edb85094d87951dc3ecab5cb86ec256 | |
parent | a8ab152bea548cbc0cc423b3449b4987317a3c78 [diff] |
Check the return value of AddTabAtIndex(ToBrowser) in tests. Final goal is to mark WaitForLoadStop as WARN_IF_UNUSED. This adds ASSERT_TRUE/FALSE to all calls such that tests continue to pass (except in non-void functions which must use EXPECT instead). This CL is a split of https://crrev.com/c/2852829. It covers /chrome/browser/ui/views I'm splitting into many to avoid one rollback undoing the whole thing as some of these may turn out to be flaky. There are 37 CLs covering 161 call-sites in total, I cannot investigate why individual cases are unexpectedly TRUE/FALSE. Unless you think it indicates a bug in the test infrastructure, please approve and investigate the unexpected cases of your directory in follow-on bugs/CLs. This CL was uploaded by git cl split. R=collinbaker@chromium.org Bug: 1014186,425335 Change-Id: I476be86c8b06f8e2b1043d938eb9650864b64401 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3394395 Auto-Submit: Fergal Daly <fergal@chromium.org> Reviewed-by: Collin Baker <collinbaker@chromium.org> Commit-Queue: Collin Baker <collinbaker@chromium.org> Cr-Commit-Position: refs/heads/main@{#960758}
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.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.