commit | 78861c88a33439e94173bca65e4628cfbb70f07e | [log] [tgz] |
---|---|---|
author | Ana Sollano Kim <ansollan@microsoft.com> | Wed Nov 06 00:58:25 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Nov 06 00:58:25 2024 |
tree | 455b53cc47953457a9c158644d17645bc543c04c | |
parent | c87ce69c9b245030c46be0a5215eba084dd249a8 [diff] |
Scope <select> mutation observer to size==1, non-multiple <select>s, and element attachment Currently, we use the mutation observer to check for changes in all <select>s' descendants and then check if those added nodes are allowed according to the content model. However, this caused a performance regression so in this CL the mutation observer is scoped to attached <select>s size==1 and non-multiple. Additionally, console errors are only logged for customizable <select>s. Rebaselined tests containing a <select> that no longer needs the console warning, added two new performance tests for customizable <select>s. Bug: 370735374 Change-Id: I58f704e842b499d261c1a1945802fc27431cd408 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5905527 Commit-Queue: Ana Sollano Kim <ansollan@microsoft.com> Reviewed-by: Joey Arhar <jarhar@chromium.org> Cr-Commit-Position: refs/heads/main@{#1378685}
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.