commit | a1a7fb105a25b034eb732c22108fd6b5351fef5a | [log] [tgz] |
---|---|---|
author | Mustafa Emre Acer <meacer@chromium.org> | Wed Jul 24 17:36:50 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Jul 24 17:36:50 2019 |
tree | 291a2d7e8198127b3e89c2a81b4d687315c800c8 | |
parent | 7059d576cdc2e5e87d2b66f85bf505c9dace8489 [diff] |
Fix handling of feature entries with ORIGIN_LIST_VALUE type Currently, the values for features with ORIGIN_LIST_VALUE type are read and set directly from the command line. This only works if the user clicks the "Restart" button on the chrome://flags page and only on desktop, as desktop codepath can pass modified command line arguments to the restarted browser instance. It doesn't work if the user manually closes the browser, or at all on Android. This CL persists ORIGIN_LIST_VALUE flags in a separate pref instead, so that they can be read on browser start. This works on Android, or when the user manually restarts the browser on desktop. This CL also merges values entered in chrome://flags and values passed directly via command line so that modifications to chrome://flags don't lose the command line values. Finally, it fixes the test flakes by modifying the command line switches only on browser starts. Bug: 972121, 937736 Change-Id: I7468cb1037e7a5050130302c5c796ea163ccb6bc Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1698989 Reviewed-by: Mustafa Emre Acer <meacer@chromium.org> Reviewed-by: Alexei Svitkine <asvitkine@chromium.org> Commit-Queue: Mustafa Emre Acer <meacer@chromium.org> Cr-Commit-Position: refs/heads/master@{#680501}
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.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .