PSA: A Blink runtime feature generates a base::Feature by default

72 views
Skip to first unread message

TAMURA, Kent

unread,
Feb 17, 2023, 12:03:54 AM2/17/23
to blink-dev
Now a runtime feature entry in runtime_enabled_features.json5 generates a base::Feature instance with the same name by default.  You can disable this behavior by specifying `base_feature: "none"`.

Existing entries in runtime_enabled_features.json5 which didn't have `base_feature` now have `base_feature: "none"`.  In many cases you should remove the field when you ship the feature, in order to have a kill switch.

--
TAMURA Kent
Software Engineer, Google


Yoav Weiss

unread,
Feb 17, 2023, 12:55:32 AM2/17/23
to TAMURA, Kent, blink-dev
Amazing work, thank you so much!!

--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAGH7WqGqKgus%2BM8kp8L%3D8ngBm%2BbJuuS533sr3KrLKZBh7_UdSQ%40mail.gmail.com.

François Beaufort

unread,
Feb 17, 2023, 4:13:38 AM2/17/23
to Yoav Weiss, TAMURA, Kent, blink-dev
Indeed. This will be very helpful. Thank you!

Reply all
Reply to author
Forward
0 new messages