Skip to content

Commit

Permalink
Tighten irrelevant flag data removal guidelines (#16637)
Browse files Browse the repository at this point in the history
  • Loading branch information
queengooborg authored Jun 15, 2022
1 parent 2352c4f commit cf75011
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions docs/data-guidelines.md
Original file line number Diff line number Diff line change
Expand Up @@ -231,14 +231,15 @@ This guideline was proposed in [#6018](https://github.com/mdn/browser-compat-dat

## Removal of irrelevant flag data

Valid support statements containing flags can be removed from BCD if it is considered irrelevant. To be considered irrelevant, the support statement must meet these conditions:
Flag data is helpful for developers who may wish to test features before they are included in a stable release. However, once a feature has landed in a stable browser release, the flag data quickly becomes irrelevant and may be removed from BCD. To be considered irrelevant, the flag support statement must meet these conditions:

- As of at least two years ago, the browser has supported the feature by default or removed the flagged feature.
- The removal of the support statement must not create an ambiguous gap or void in the data for that browser (for example, leaving behind only a `"version_added": true` or `null` value).
- The browser has supported the feature by default.
- The feature can no longer be enabled by toggling the flag.
- The flag has been removed from the browser.

These conditions represent minimum requirements for the removal of valid flag data; other considerations may result in flag data continuing to be relevant, even after the guideline conditions are met.

This guideline was proposed in [#6670](https://github.com/mdn/browser-compat-data/pull/6670).
This guideline was proposed in [#6670](https://github.com/mdn/browser-compat-data/pull/6670) and revised in [#16637](https://github.com/mdn/browser-compat-data/pull/16637).

## When to add `version_removed` to flagged support

Expand Down

0 comments on commit cf75011

Please sign in to comment.