Bug 1499791 - Remove extra spaces in FeaturePolicyUtils.cpp, r=me
authorAndrea Marchesini <amarchesini@mozilla.com>
Wed, 17 Oct 2018 19:22:59 +0200
changeset 500249 4f6373f7b21155fadc01fbb03d8a4d1f3f3a1f2e
parent 500248 dce4f5d77296ddf754487066686ef789952fdb47
child 500250 31175b7c468b1f8f8589728f8a29d433e1594cd6
push id1864
push userffxbld-merge
push dateMon, 03 Dec 2018 15:51:40 +0000
treeherdermozilla-release@f040763d99ad [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme
bugs1499791
milestone64.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 1499791 - Remove extra spaces in FeaturePolicyUtils.cpp, r=me
dom/security/featurepolicy/FeaturePolicyUtils.cpp
--- a/dom/security/featurepolicy/FeaturePolicyUtils.cpp
+++ b/dom/security/featurepolicy/FeaturePolicyUtils.cpp
@@ -18,26 +18,26 @@ struct FeatureMap {
 };
 
 /*
  * IMPORTANT: Do not change this list without review from a DOM peer _AND_ a
  * DOM Security peer!
  */
 static FeatureMap sSupportedFeatures[] = {
   { "autoplay", FeaturePolicyUtils::FeaturePolicyValue::eAll },
-  { "camera", FeaturePolicyUtils::FeaturePolicyValue::eAll  },
-  { "encrypted-media", FeaturePolicyUtils::FeaturePolicyValue::eAll  },
-  { "fullscreen", FeaturePolicyUtils::FeaturePolicyValue::eAll  },
-  { "geolocation", FeaturePolicyUtils::FeaturePolicyValue::eAll  },
-  { "microphone", FeaturePolicyUtils::FeaturePolicyValue::eAll  },
-  { "midi", FeaturePolicyUtils::FeaturePolicyValue::eAll  },
-  { "payment", FeaturePolicyUtils::FeaturePolicyValue::eAll  },
+  { "camera", FeaturePolicyUtils::FeaturePolicyValue::eAll },
+  { "encrypted-media", FeaturePolicyUtils::FeaturePolicyValue::eAll },
+  { "fullscreen", FeaturePolicyUtils::FeaturePolicyValue::eAll },
+  { "geolocation", FeaturePolicyUtils::FeaturePolicyValue::eAll },
+  { "microphone", FeaturePolicyUtils::FeaturePolicyValue::eAll },
+  { "midi", FeaturePolicyUtils::FeaturePolicyValue::eAll },
+  { "payment", FeaturePolicyUtils::FeaturePolicyValue::eAll },
   // TODO: not supported yet!!!
-  { "speaker", FeaturePolicyUtils::FeaturePolicyValue::eAll  },
-  { "vr", FeaturePolicyUtils::FeaturePolicyValue::eAll  },
+  { "speaker", FeaturePolicyUtils::FeaturePolicyValue::eAll },
+  { "vr", FeaturePolicyUtils::FeaturePolicyValue::eAll },
 };
 
 /* static */ bool
 FeaturePolicyUtils::IsSupportedFeature(const nsAString& aFeatureName)
 {
   uint32_t numFeatures = (sizeof(sSupportedFeatures) / sizeof(sSupportedFeatures[0]));
   for (uint32_t i = 0; i < numFeatures; ++i) {
     if (aFeatureName.LowerCaseEqualsASCII(sSupportedFeatures[i].mFeatureName)) {