Hey blink-dev,
Within Google we’ve had a lot of discussion over the past year about how we should make increasing use of flags and kill switches to reduce the risk of breaking changes, but I realized there hasn’t been discussion here on blink-dev.
Once a change hits stable it’s quite expensive and time-consuming to do an emergency patch, but much faster and cheaper to update a server config. For Google Chrome this means “Finch”, but other big chromium embedders like Edge also have their own system for setting flags dynamically. So increasingly we want to ensure that changes which might reasonably cause a regression are guarded by a flag wherever practical.
For Blink this simply means using a Runtime Enabled Feature (or other base::Feature). I think we’re all largely in the habit of using this for new APIs, but we should also be using one for all intentional breaking changes and this is something the API owners will be asking about.
See Flag Guarding Guidelines for more details and feel free to reach out to me and/or chrome-at...@google.com with questions or concerns.
Thanks,
Rick
--
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/CAFUtAY9iR-n102RPZWfqpUGjYm9W2LpFFb5%2BodimGFUC8Dv8ZA%40mail.gmail.com.