Refactor Settings webui tests to allow the list of content settings to be computed only once |
|
Issue descriptioncrrev.com/c/1098577 refactors the Site Settings web UI to recompute the list of content settings every time it is required. This slows down the original method by 0.6ms according to a pageload of Site Details, profiled in Chrome DevTools. This could be updated to compute only once and immediately cache the results, but this would cause some automated tests that rely on being able to flip feature flags dynamically to fail. These tests can be refactored to prevent this from happening.
,
Jun 20 2018
#1 Yep! SGTM. |
|
►
Sign in to add a comment |
|
Comment 1 by patricia...@chromium.org
, Jun 20 2018