Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(222)

Unified Diff: third_party/WebKit/Source/platform/feature_policy/FeaturePolicy.cpp

Issue 2898503002: Reenable feature policy control over fullscreen (Closed)
Patch Set: Fixing last test nits Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/LayoutTests/resources/testharnessreport.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/feature_policy/FeaturePolicy.cpp
diff --git a/third_party/WebKit/Source/platform/feature_policy/FeaturePolicy.cpp b/third_party/WebKit/Source/platform/feature_policy/FeaturePolicy.cpp
index 3872ae6c736560d5f78a52d08ffb2c4290d3f9bc..e83576a72a77c5f154b076ca0dc3a50f6df986ce 100644
--- a/third_party/WebKit/Source/platform/feature_policy/FeaturePolicy.cpp
+++ b/third_party/WebKit/Source/platform/feature_policy/FeaturePolicy.cpp
@@ -87,13 +87,8 @@ WebParsedFeaturePolicy ParseFeaturePolicy(const String& policy,
bool IsSupportedInFeaturePolicy(WebFeaturePolicyFeature feature) {
if (!RuntimeEnabledFeatures::FeaturePolicyEnabled())
return false;
-
switch (feature) {
- // TODO(loonybear): Re-enabled fullscreen in feature policy once tests have
- // been updated.
- // crbug.com/666761
case WebFeaturePolicyFeature::kFullscreen:
- return false;
case WebFeaturePolicyFeature::kPayment:
case WebFeaturePolicyFeature::kUsb:
return true;
« no previous file with comments | « third_party/WebKit/LayoutTests/resources/testharnessreport.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698