commit | b40ec612a0463079a019164a3b27ec9d6dc8ba49 | [log] [tgz] |
---|---|---|
author | dpapad <dpapad@chromium.org> | Tue Jun 11 22:05:14 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Jun 11 22:05:14 2024 |
tree | 1681ceed86fa0903279f28c6e1b9a6ddbbae112b | |
parent | 6ecb18ec5a9b4f2960b4c6fabac663203f5f9422 [diff] |
WebUI: Throw error when cr-icon encounters unknown iconsets. In order to make this possible the following changes had to be made: - Modify iron-iconset-svg to synchronously fire 'iron-iconset-added' events. - Modify iconset_map.ts to lazily instantiate the singleton instance, and to account for any iron-iconset-svg instances added before the singleton instance is created. - Update various tests that used non-existing iconsets to use existing ones. - Removed obsolete test cases from cr-icon tests. - Added dedicated iconset_map.ts tests. Bug: 346386724 Change-Id: I2bf247d047885c0a5b76bbebd1d527a42d83da4e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5609954 Reviewed-by: Rebekah Potter <rbpotter@chromium.org> Code-Coverage: findit-for-me@appspot.gserviceaccount.com <findit-for-me@appspot.gserviceaccount.com> Commit-Queue: Demetrios Papadopoulos <dpapad@chromium.org> Cr-Commit-Position: refs/heads/main@{#1313700}
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.