Closed
Bug 1479127
Opened 6 years ago
Closed 6 years ago
Add feature gating library
Categories
(Toolkit :: FeatureGate, enhancement, P1)
Toolkit
FeatureGate
Tracking
()
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
firefox66 | --- | fixed |
People
(Reporter: mythmon, Assigned: mythmon)
References
(Blocks 1 open bug)
Details
(Keywords: feature)
Attachments
(1 file)
(deleted),
text/x-phabricator-request
|
Details |
In order to support the Feature Gating project, we should make a small library for Firefox features that makes it easy to respond to features turning on and off in a reliable, efficient, and auditable way. This will enable developers to be more assured that the way they enable and disable features is correct without having to dodge the litany of foot-guns that exist when using preferences directly. It will also make it possible for external tools to easily list and change the features in Firefox. Examples include:
* Shield/Normandy enabling or disabling features
* Delivery Console monitoring the state of features
* An in-browser about: page that describes features and allows control of them by end users.
Initially this will be based on the preferences system, while exposing an API that ensures that none of the common problems with using preferences happen (such as ignoring default-branch values, accidentally requiring a browser restart, erasing user choice of preferences, or ignoring values of the pref as it changes). In the future, it may be desirable to move the backing store to another platform, such as rkv. Because of this, the implementation should be async, even if the preference system does not require it.
Features will be specified in a static file in tree, much like Telemetry's Events.yaml or Telemetry.yaml. This will provide a centralized place to store metadata, such as a human readable name and description, the type of the preference, if the preference requires a restart, its default, etc.
Updated•6 years ago
|
Priority: -- → P1
Assignee | ||
Comment 1•6 years ago
|
||
Updated•6 years ago
|
Updated•6 years ago
|
Attachment #9006998 -
Attachment description: Bug 1479127 - Add strawman featuregate library → Bug 1479127 - Add featuregate library
Pushed by mcooper@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/7e107869b00d
Add featuregate library r=mossop,firefox-build-system-reviewers,mshal
Comment 3•6 years ago
|
||
Backed out changeset 7e107869b00d (Bug 1479127) for bc failures on browser_all_files_referenced.js.
Backout: https://hg.mozilla.org/integration/autoland/rev/2d4af102ece3083438ad8da72fa33fe286c14919
Failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=220886451&repo=autoland&lineNumber=2004
Flags: needinfo?(mcooper)
Pushed by mcooper@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/badd599eb7d7
Add featuregate library r=mossop,firefox-build-system-reviewers,mshal
Comment 5•6 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
status-firefox66:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 66
Assignee | ||
Updated•6 years ago
|
Flags: needinfo?(mcooper)
Assignee | ||
Updated•6 years ago
|
Severity: normal → enhancement
Component: General → FeatureGate
Keywords: feature
Product: Firefox → Toolkit
Target Milestone: Firefox 66 → ---
You need to log in
before you can comment on or make changes to this bug.
Description
•