If you have concerns about your feature not fitting into this process, or any other questions, general concerns or discussion of this process, please e-mail blink-api-owners-discuss@chromium.org. If you'd like to provide feedback on this page or the process it describes, leave feedback on the Google Doc draft of this page. Exempt features:You do not need to use this process if your change does not affect web API behavior to the point that developers need to be aware of it. (e.g. no significant behavioral changes, and no web-facing API changes.) The rest of this document doesn’t apply to this type of change, although such features might still have to go through a different launch process. Large projects should have public design docs that are also shared on blink-dev@chromium.org (or chromium-dev@, for projects that have significant parts outside of Blink) for feedback (this is also a good way to get the attention of other relevant leads). Frequently asked questions Q: Do I need any of this if my project is just refactoring or re-architecting the code? Do the API owners need to be involved? A: No. The API owners oversee the process of shipping web-exposed API changes. They are not necessarily leads or overseers of any of the code. Instead, you should get the buy-in of the leads of the code areas touched by your project. If there may be side effects of your change, you should follow the "Architectural change" process below. In addition, such large projects should have public design docs that are also shared on blink-dev@chromium.org (or chromium-dev@chromium.org, for projects that have significant parts outside of third_party/blink) for feedback (this is also a good way to get the attention of relevant leads you might not have thought of). For code-related questions, you can email platform-architecture-dev@chromium.org in addition to blink-dev@ as a catch-all option when the code ownership is not clear or the feature needs large-scale refactoring changes. Q: What if I want to add some code to third_party/blink that is for a non-web-exposed feature? Is that allowed? A: In general, no. On a case-by-case basis an exception could be given if there is no other reasonable way to implement the feature. Ask for permission from leads of the code area as well as the API owners. (The API owners need to be involved only to help understand if the feature really is not web-exposed; this can be a very subtle question.) Q: I am not sure of the right approach for my feature. What should I do? A: Please reach out to the API owners for help! While they are not gatekeepers for everything, they are very happy to give advice and unblock your feature. An email to blink-api-owners-discuss@chromium.org is the best way; if a public-facing email is not possible, please email the API owners directly. The Feature TypesThe first thing you will need to do is identify what type of feature you are building:
The Chromium process to launch a new featureStep 0: Create a ChromeStatus entry, and choose your feature type.For all types of features, the first step is to create a ChromeStatus entry. Go to https://www.chromestatus.com/features, ensure you are logged in (see the upper right corner), and click “Add new feature”. If you do no have access to create a new feature, please send an email to webstatus-request@google.com to request access. Follow the directions to name your feature and give a short summary, and select the appropriate feature type. For Chrome, some launches will require a formal Chrome launch review (especially if your feature has security, privacy, legal, or UI implications). This is the point where you should file a launch bug if this applies to you. We are working on making this process more open and transparent outside Google. From this point on, the process changes a little depending on the type of feature you’re adding.
For New Feature Incubations:Step 1: Incubating: Write up use cases and scenarios in an explainer.Press the "Start" button next to "Start Incubating", fill out the “Motivation” section with a brief summary, and then write up the use cases and scenarios in an explainer for the feature (typically hosted in a public personal Github repo in Markdown form) and hit "Submit". We have a program for to provide mentorship for specification writing; If you are a Googler you must file a request for a spec mentor, and ask them to review this early explainer before proceeding. If you are not a Googler, you are welcome to make use of this but not required to. You can then put a link to your public explainer in the feature entry. You will then need to publish this explainer, and kick off "standards incubation" by proposing this to a relevant standards venue (frequently, this means you should make a WICG proposal and start socializing the problem with other vendors and developers. Enter a reference to the public proposal in “Initial Public Proposal” field; if there is interest in the WICG proposal and it can be moved into the WICG at this point, do so. The WICG co-chairs can help you.) It’s also a good idea to discuss your idea with the team/team lead (TL) or area expert in the feature area, prior to checking in code in the area. Start sketching out a proposed solution in your (public) explainer, detailing API design (IDL) in your incubation. If you are a Googler, you may wish to review this with your standards mentor before proceeding. Step 2: PrototypingProceed to the “Start Prototyping” stage in ChromeStatus - this will generate an “Intent to Prototype” mail for you. Send that email to blink-dev and start checking in prototype code to Chromium under a runtime flag. You should do your detailed API design in the open, in your public repository, and response to feedback filed there. You should continue pushing for public engagement (from other vendors and web developers), and to move into WICG, or other incubation venues, if you haven’t already. During this stage, you should expand on the explainer with a full design doc (this may also have implementation-specific details), and create a specification (or spec changes to an existing spec). You should be tracking your specification with an implementation - but note that any CLs landing at this stage should be behind a feature flag. Consider adding a UseCounter to track usage of your new feature in the wild, and be sure to write integration tests for your feature as web-platform-tests as you go. Continue to work with your API mentor if there are any design changes. Ensure you have an API overview and descriptions for all IDL methods and properties (these are probably in your specification or explainer, but developers will need them to try your feature out), and at least a basic sample. As soon as you have a functional and reasonably complete implementation of your initial design ready for developers to try out behind a flag, proceed to the next step. Step 3: Feature Complete behind a feature flag: iteration on designOnce you have a functional and reasonably complete feature implementation available as a runtime enabled feature, request a TAG review of your design and proceed to the “Dev Trials” stage in ChromeStatus. This will generate a “Ready for Trial” email that you should send to blink-dev to notify the community they can try out the feature. At this point, you should consider ask other browser vendors and the web developer community for signals on their opinion of the API. This is the main iterating stage of feature development and helps you assess product-market-fit early on before you corner yourself (does your API address a problem with meaningful demand? did we get the ergonomics right?). You may wish to send more than one Ready for Trial emails, if you make substantial changes to the API shape while iterating. You should work with the TAG to complete their review and address any issues raised during this stage, and should address any issues raised by other horizontal reviews (accessibility, privacy, internationalization, etc.). Step 4: Evaluate readiness to shipOnce you believe you have addressed all major open issues, you should proceed to the “Evaluating readiness to ship” stage in ChromeStatus. If you haven't already received signals on their opinion of the API from other browser vendors and the web developer community, now is the time to pursue getting those signals. You should also work with the documentation team to ensure your features will be documented when shipped, and estimate when (in what milestone) you would like to target shipping. You should also decide if an Origin Trial would help gather significant data for your feature. Step 5 (Optional): Origin TrialIf you want to gather data on the usability of your feature that an Origin Trial can help collect, proceed to the “Origin Trial” stage in ChromeStatus and fill out the required fields detailing what you hope to learn from the origin trial. This will generate an Intent to Experiment mail that you should send to blink-dev. After receiving at least one LGTM from API Owners, you can proceed with your origin trial release. Collect data and respond to any issues. From here, you may wish to return to Dev Trials, proceed to Prepare to Ship, or park the feature. Please note that origin trials are not exempt from requiring cross-functional approvals from the Chrome launch review process. Step 6: Prepare to ShipAt this point, if you are a Googler you should get a final spec review from your standards mentor, and discuss options for moving your spec to a final standardization venue. You should have TAG sign-off on your API design by now, or have ongoing discussions on the TAG review without any outstanding major concerns. You should update ChromeStatus with a target milestone for shipping (and remember to keep this updated, if things change). You should get final signoff from Documentation, and update for any changes in vendor signals. Proceed to the “Prepare to Ship” stage in ChromeStatus; this will generate an Intent to Ship mail that you should send to blink-dev. This will spark a conversation with the API Owners; address any feedback from them, and once you should get 3 LGTMs from API Owners, you may enable the feature by default. You can learn more about the policies and guidelines the API owners evaluate here. Requirements for new API owners are here. Email blink-api-owners-discuss@chromium.org or reach out to one of the API owners if there is no open/unaddressed feedback and you are still blocked on LGTMs after 5 days. Once you have shipped your feature, proceed to the "Ship" stage in ChromeStatus. Implementations of already-defined consensus-based standardsStep 1: Write up use cases and scenarios, start codingFill out the “Motivation” section with a brief summary, and then write up the use cases and scenarios. If this is a large feature, or a combination of multiple attributes/properties/methods/events, you may wish to do this in a separate explainer file. Proceed to the “Start Prototyping” stage in ChromeStatus - this will generate an “Intent to Prototype” mail for you. Send that email to blink-dev and start checking in prototype code to Chromium as runtime enabled features. Ensure there are adequate web-platform-tests for this feature. Also ensure you have an API overview and descriptions for all IDL methods and properties (this is probably already in the consensus standard specification, or even on MDN), and at least a basic sample. As soon as you have a functional and reasonably complete implementation of the feature ready for developers to try out under a flag, proceed to the next step. Step 2: Feature Complete behind a flag and implementation refinementIf the TAG has not already reviewed the consensus specification, request a TAG review and proceed to the “Dev Trials” stage in ChromeStatus. This will generate a “Ready for Trial” email that you should send to blink-dev to notify the community they can try out the feature. After you have addressed any issues that the community finds, you should proceed to the “Evaluating readiness to ship” stage in ChromeStatus. You should also work with the documentation team to ensure your feature will be documented when shipped, and estimate when (in what milestone) you would like to target shipping. You should also decide if an Origin Trial would help gather significant data for your feature. Step 3 (Optional): Origin TrialIf you want to gather data on the usability of your feature that an Origin Trial can help collect, proceed to the “Origin Trial” stage in ChromeStatus and fill out the required fields detailing what you hope to learn from the origin trial. This will generate an Intent to Experiment mail that you should send to blink-dev. After receiving at least one LGTM from API Owners, you can proceed with your origin trial release. Collect data and respond to any issues. From here, you may wish to return to Dev Trials, proceed to Prepare to Ship, or park the feature. Please note that origin trials are not exempt from requiring cross-functional approvals from the Chrome launch review process. Details here. If an Origin Trial happens, then there is a required breaking period before shipping in step 4. If you wish to skip the breaking period, meaning that sites participating in the Origin Trial will not see an interruption in support for the feature between Origin Trial and launch, you may request an exception. The process to do so is to include this request in your Intent to Ship email. In the request, you must show clear evidence that developers engaged with the Origin Trial and that their concerns were taken into account in the final API design and implementation. LGTMs for the Intent to Ship imply approval of the request. Step 4: Prepare to ShipYou should update ChromeStatus with a target milestone for shipping (and remember to keep this updated, if things change). You should get final signoff from Documentation, and update for any changes in vendor signals. Proceed to the “Prepare to Ship” stage in ChromeStatus; this will generate an Intent to Ship mail that you should send to blink-dev. This will spark a conversation with the API Owners; address any feedback from them, and once you should get 3 LGTMs from API Owners, you may enable the feature by default. See here for the principles the API owners will apply in evaluating whether the feature is mature enough to ship. (API owners requirements are listed here - email blink-api-owners-discuss@chromium.org or reach out to one of the API owners if no open/unaddressed feedback and you are still blocked on LGTMs after 5 days.) Once you have shipped your feature, proceed to the "Ship" stage in ChromeStatus. Feature deprecationsLessons from the first year of deprecations and removals (thread)
Step 1: Write up motivationDeprecations and removals must have strong reasons, explicitly balanced against the cost of removal. Deprecations should be clear and actionable for developers. First, read the guidelines for deprecating a feature. Measure feature usage in the wild. Various tools are available, but typically this is accomplished by simply adding your feature to the UseCounter::Feature enum and adding MeasureAs=<your enum value> to the feature's IDL definition.
Fill out the “Motivation” section with a brief summary, and then write up the use cases and scenarios. Proceed to the “Write Up Motivation” stage in ChromeStatus - this will generate an “Intent to Deprecate and Remove” mail for you. Send that email to blink-dev and start checking in your code removing the feature to Chromium as a runtime enabled feature. Make sure to provide suggested alternatives to the feature being deprecated. As soon as you have a functional removal of the feature ready for developers to try out under a flag, proceed to the next step. Step 2: Dev trial of deprecationProceed to the “Dev Trials” stage in ChromeStatus. This will generate a “Ready for Trial” email that you should send to blink-dev to notify the community they can try out the feature deprecation. At this point, you should also notify developers by adding a deprecation console message, pointing to the updated status entry in the console message. You should also continue to measure usage by adding the API to the big switch in UseCounter::deprecationMessage. Give developers as many milestones as possible to respond to the deprecation. Instrument your code by either adding DeprecateAs=[your enum value here] to the feature's IDL definition.* -- See window.performance.webkitGetEntries., or adding a call to UseCounter::countDeprecation somewhere relevant. You should work with the documentation team to ensure the community is prepared for this feature deprecation, and estimate when (in what milestone) you would like to target shipping. You should also decide (possibly based on data from the dev trial) if a deprecation trial is going to be necessary to help smooth the removal of this feature from the web platform. Step 3 (Optional): Deprecation TrialIf you are concerned that there are going to be web developers who need additional time to fix up their implementations, and will want to delay your feature deprecation, you can file for a Deprecation Trial. This will let you disable the feature by default, but let developers request an origin trial token to re-enable the feature, for a limited period of time after the feature deprecation. You will need to decide how long to keep the deprecation trial open and enter that milestone in the tool for planning purposes, and then select “Draft Request for Deprecation Trial email” in ChromeStatus, and send the resulting “Request for Deprecation Trial” email to blink-dev. After receiving at least one LGTM from API Owners, email experimentation-dev@chromium.org letting them know you plan to run a deprecation trial, ensure your removal is integrated with the origin trials framework (see details), and Googlers can request a trial for their feature at go/new-origin-trial. Once your Deprecation Trial is in place, proceed to the next step. Step 4: Prepare to ShipYou should update ChromeStatus with a target milestone for deprecating the feature (and remember to keep this updated, if things change). You should get final signoff from the Documentation team. Proceed to the “Prepare to Ship” stage in ChromeStatus; this will generate an Intent to Ship mail that you should send to blink-dev. This will spark a conversation with the API Owners; address any feedback from them, and once you should get 3 LGTMs from API Owners, you may proceed. Step 5: Disable the featureDisable the feature by default. Update ChromeStatus to either “Disabled” or “Disabled with Deprecation Trial”. Step 6: Remove CodeIf you are running a Deprecation Trial, wait until the Deprecation Trial period has ended. (If you need to extend the Deprecation Trial, notify experimentation-dev@chromium.org and click “Generate an Intent to Extend Deprecation Trial” in ChromeStatus and send the resulting notification to blink-dev.) Once the feature is no longer available, remove the code (typically waiting a couple of milestone cycles to insure the code is no longer needed), and set the ChromeStatus to “Removed.” If you are unsure of when a feature could be removed, or would like to discourage usage, you may deprecate a feature without a removal deadline. This is strongly discouraged and will require significant justification:
* It takes 12-18 weeks to hit Stable once you enable instrumentation. If there is time pressure you may be able to get permission to merge UseCounter changes into an existing dev/beta branch, and make provisional decisions based on data from beta channel. Web-developer-facing change to existing code (PSA)Step 1: Write up motivation and implement codeFill out the “Motivation” section with a brief summary, and proceed to the “Implementing” stage in ChromeStatus. Step 2: (Optional) Dev trialIf you want to try out this change before shipping it, put your code in Chromium as runtime enabled features, and set the status to “Dev Trial” in ChromeStatus. This will generate a “Ready for Trial” email that you should send to blink-dev to notify the community they can try out code change. Step 3: Prepare to ShipYou should update ChromeStatus with a target milestone for shipping (and remember to keep this updated, if things change). Proceed to the “Prepare to Ship” stage in ChromeStatus; this will generate a “Web-Facing Change PSA” mail for you. Send that email to blink-dev with the summary of the code change and the expected milestone. Step 4: (Optional) Finch trialYou may wish to use Finch to increase confidence in the new code as you deploy it. Step 5: ShipShip it, and set the status to “Shipped”. Post Launch
RelatedFor an overview, and explanation of motivations, please see: |