Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[privacy sandbox] Fix site-list-entry displayed in lazy loaded lists
When iron-list has more than n items and some elements are lazy loaded, computeDisplayName_ method is called with only cookiesExceptionType set and not model. This leads to an error. cookiesExceptionType should only be set statically. Remove cookiesExceptionType from the method's dependency list. Add a test with a long list of exceptions to verify that it works. Bug: 1378703 Change-Id: I489db59494cf13ea5780c752e41b6619749b7616 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4111605 Reviewed-by: Theodore Olsauskas-Warren <sauski@google.com> Reviewed-by: Rainhard Findling <rainhard@chromium.org> Commit-Queue: Olesia Marukhno <olesiamarukhno@google.com> Cr-Commit-Position: refs/heads/main@{#1084883}
- Loading branch information
Olesia Marukhno
authored and
Chromium LUCI CQ
committed
Dec 19, 2022
1 parent
3d8766e
commit 3343e43
Showing
3 changed files
with
24 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters