From dfb9eb8319953ca6eb0643418f8fb61853f3e706 Mon Sep 17 00:00:00 2001 From: Andrea Marchesini Date: Tue, 2 Oct 2018 11:55:11 +0200 Subject: [PATCH] Bug 1495304 - Remove unsupported feature policies, r=ckerschb --- dom/security/featurepolicy/FeaturePolicyUtils.cpp | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/dom/security/featurepolicy/FeaturePolicyUtils.cpp b/dom/security/featurepolicy/FeaturePolicyUtils.cpp index ebcdfdc2c37c..9756eacad4f4 100644 --- a/dom/security/featurepolicy/FeaturePolicyUtils.cpp +++ b/dom/security/featurepolicy/FeaturePolicyUtils.cpp @@ -25,10 +25,6 @@ struct FeatureMap { * DOM Security peer! */ static FeatureMap sSupportedFeatures[] = { - // TODO: not supported yet!!! - { "accelerometer", FeatureMap::eSelf }, - // TODO: not supported yet!!! - { "ambient-light-sensor", FeatureMap::eSelf }, // TODO: not supported yet!!! { "autoplay", FeatureMap::eSelf }, // TODO: not supported yet!!! @@ -40,20 +36,12 @@ static FeatureMap sSupportedFeatures[] = { // TODO: not supported yet!!! { "geolocation", FeatureMap::eSelf }, // TODO: not supported yet!!! - { "gyroscope", FeatureMap::eSelf }, - // TODO: not supported yet!!! - { "magnetometer", FeatureMap::eSelf }, - // TODO: not supported yet!!! { "microphone", FeatureMap::eSelf }, { "midi", FeatureMap::eSelf }, { "payment", FeatureMap::eSelf }, // TODO: not supported yet!!! - { "picture-in-picture", FeatureMap::eAll }, - // TODO: not supported yet!!! { "speaker", FeatureMap::eSelf }, // TODO: not supported yet!!! - { "usb", FeatureMap::eSelf }, - // TODO: not supported yet!!! { "vr", FeatureMap::eSelf }, };