As of
a week ago, you can now set runtime-enabled features from the command line.
content
provides two switches which can be used to turn runtime enabled features on or off, intended for use during development. They are exposed by both content_shell
and chrome
.
--enable-blink-features=SomeNewFeature,SomeOtherNewFeature
--disable-blink-features=SomeOldFeature
After applying most other feature settings, the features requested feature settings (comma-separated) are changed. "disable" is applied later (and takes precedence), regardless of the order the switches appear on the command line. These switches only affects Blink's state. Some features may need code to be switched on in Chromium as well; in this case, a specific flag is still required.
This is intended to alleviate the need to plumb a flag through Chromium to toggle small Blink features during development, especially before they're ready to have their status changed (to test, experimental, or stable, as appropriate).