-
UI
about:flags
(or maybeabout:features
?)- similar to
chrome://flags
in Chromium - allow enabling/disabling/changing settings
- also specifies if Mozilla has remotely changed flag and allows opting out
-
Library / SDK
- language-specific libraries (instead of libpref)
- JS
Chrome.utils.import("Features"); let showFeature = Feature.variation("YOUR_FEATURE_KEY"); if (showFeature) { ... } else { ... }
- C++
- Rust
- JS
- declarative config (JSON file etc) that lists:
- default state
- (enabled, disabled, etc)
- incompatibilities
- some features are mutually exclusive
- dependencies
- some features depend on others
- restartless
- assume that features require restart unless otherwise specified
- used by both UI and libraries
- default state
- language-specific libraries (instead of libpref)
-
References
Last active
July 13, 2018 18:35
-
-
Save rhelmer/9d8f9036d8f5caaa5a02caef38867047 to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment