commit | 27a5d56a1dc55e2410c20a6242e5c8531c48c3ea | [log] [tgz] |
---|---|---|
author | David Benjamin <davidben@chromium.org> | Wed Oct 18 20:16:30 2023 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Oct 18 20:16:30 2023 |
tree | b2f19061fb64c312a4bd41e9d66930c8826c9e62 | |
parent | d1aa3a2e2032fc60b3eb691196bb8e1c81730613 [diff] |
Cap the path builder iteration limit to 20 UMA reports that all validations below a rounding error (the tool shows 100%) need 10 iterations, except on Chrome OS where the number is 12. These numbers are also an overestimate because they count failed validations. Other uses of this code have picked limits of 18 and 20. Set an upper bound of 20, which is about twice what we have any evidence of anyone needing. The current limit is far, far too high. On the off chance this causes an issue, add a base::Feature kill switch for a couple releases, but I think this otherwise does not need much fanfare. Bug: 634470 Change-Id: Ie7dd23c52b6ac0a6d3319c01767b210b4718cc3a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4903550 Reviewed-by: Matt Mueller <mattm@chromium.org> Auto-Submit: David Benjamin <davidben@chromium.org> Commit-Queue: David Benjamin <davidben@chromium.org> Cr-Commit-Position: refs/heads/main@{#1211710}
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.