Bug 1527782 - Cleanup temporary parts of Feature Gates r=Gijs
authorMichael Cooper <mcooper@mozilla.com>
Fri, 01 Mar 2019 18:27:36 +0000
changeset 519883 d4a7d1ef0bb971fee314e1b9738ab7cf01f21935
parent 519882 b38cbb00d7dd7bfb9fecd81f08275dc0265ac7ca
child 519884 2b32f21ec0dc870475a73ac52cd53706ff023657
push id10862
push userffxbld-merge
push dateMon, 11 Mar 2019 13:01:11 +0000
treeherdermozilla-beta@a2e7f5c935da [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersGijs
bugs1527782
milestone67.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1527782 - Cleanup temporary parts of Feature Gates r=Gijs Differential Revision: https://phabricator.services.mozilla.com/D20747
browser/base/content/test/static/browser_all_files_referenced.js
toolkit/components/featuregates/Features.toml
toolkit/components/featuregates/jar.mn
--- a/browser/base/content/test/static/browser_all_files_referenced.js
+++ b/browser/base/content/test/static/browser_all_files_referenced.js
@@ -164,20 +164,16 @@ var whitelist = [
   // find the references)
   {file: "chrome://devtools/skin/images/aboutdebugging-firefox-aurora.svg",
    isFromDevTools: true},
   {file: "chrome://devtools/skin/images/aboutdebugging-firefox-beta.svg",
    isFromDevTools: true},
   {file: "chrome://devtools/skin/images/aboutdebugging-firefox-release.svg",
    isFromDevTools: true},
   {file: "chrome://devtools/skin/images/next.svg", isFromDevTools: true},
-  // Feature gates are available but not used yet - Bug 1479127
-  {file: "resource://gre-resources/featuregates/FeatureGate.jsm"},
-  {file: "resource://gre-resources/featuregates/FeatureGateImplementation.jsm"},
-  {file: "resource://gre-resources/featuregates/feature_definitions.json"},
   // kvstore.jsm wraps the API in nsIKeyValue.idl in a more ergonomic API
   // It landed in bug 1490496, and we expect to start using it shortly.
   {file: "resource://gre/modules/kvstore.jsm"},
   {file: "chrome://devtools/content/aboutdebugging-new/tmp-locale/en-US/aboutdebugging.ftl",
    isFromDevTools: true},
   // Bug 1526672
   {file: "resource://app/localization/en-US/browser/touchbar/touchbar.ftl",
    platforms: ["linux", "win"]},
--- a/toolkit/components/featuregates/Features.toml
+++ b/toolkit/components/featuregates/Features.toml
@@ -1,18 +1,8 @@
-[demo-feature]
-title = "Demo Feature"
-description = "A no-op feature to demo the feature gate system."
-restart-required = false
-preference = "foo.bar.baz"
-type = "boolean"
-bug-numbers = [1479127]
-is-public = true
-default-value = false
-
 [normandy-remote-settings]
 title = "Normandy: Remote Settings transport"
 description = """
 When enabled, the Normandy client will fetch recipes from Remote Settings \
 instead of direclty from the Normandy API."""
 restart-required = false
 type = "boolean"
 bug-numbers = [1519276]
--- a/toolkit/components/featuregates/jar.mn
+++ b/toolkit/components/featuregates/jar.mn
@@ -1,9 +1,9 @@
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
 toolkit.jar:
-% resource featuregates %res/featuregates/
-  res/featuregates/FeatureGate.jsm (./FeatureGate.jsm)
-  res/featuregates/FeatureGateImplementation.jsm (./FeatureGateImplementation.jsm)
-  res/featuregates/feature_definitions.json (./feature_definitions.json)
+% resource featuregates %featuregates/
+  featuregates/FeatureGate.jsm (./FeatureGate.jsm)
+  featuregates/FeatureGateImplementation.jsm (./FeatureGateImplementation.jsm)
+  featuregates/feature_definitions.json (./feature_definitions.json)