commit | 61a31e398360c003fb6e3b19f36a0de268822152 | [log] [tgz] |
---|---|---|
author | Aaron Leventhal <aleventhal@google.com> | Wed Mar 20 22:56:15 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Mar 20 22:56:15 2024 |
tree | 534812594ba7205c3141e1d3d188df7842888639 | |
parent | 9b1e0a945e036fcaae3231d9d7f76b8472bb84e5 [diff] |
[A11y] Use CachedPreviousSiblingIncludingIgnored() Avoid potential infinite recursion when initializing a newly added child, which may need the previous sibling in ComputeIsUsedForLabelOrDescription() -> SupportsNameFromContents() for a element with role="row". This does not seem to occur now but it is hit in CL:5020124, where we more eagerly build out subtrees. The recursion occurs because PreviousSiblingIncludedIgnored() will attempt to get the included parent's children, even recomputing them, even if we're already in the middle of computing the children. Fortunately we have a check for this kind of problematic recursion. Bug: 324786153 Change-Id: Icaf137bda28c4da82877a22f5e9cffbeaa980a31 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5381479 Auto-Submit: Aaron Leventhal <aleventhal@chromium.org> Reviewed-by: Chris Harrelson <chrishtr@chromium.org> Commit-Queue: Aaron Leventhal <aleventhal@chromium.org> Cr-Commit-Position: refs/heads/main@{#1275899}
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.