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

Side by Side Diff: content/public/common/content_features.cc

Issue 2430923007: Disable framebusting intervention (Closed)
Patch Set: Disable framebusting intervention Created 4 years, 2 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "build/build_config.h" 5 #include "build/build_config.h"
6 #include "content/public/common/content_features.h" 6 #include "content/public/common/content_features.h"
7 7
8 namespace features { 8 namespace features {
9 9
10 // All features in alphabetical order. 10 // All features in alphabetical order.
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 // Enables a blink::FontCache optimization that reuses a font to serve different 48 // Enables a blink::FontCache optimization that reuses a font to serve different
49 // size of font. 49 // size of font.
50 const base::Feature kFontCacheScaling{"FontCacheScaling", 50 const base::Feature kFontCacheScaling{"FontCacheScaling",
51 base::FEATURE_DISABLED_BY_DEFAULT}; 51 base::FEATURE_DISABLED_BY_DEFAULT};
52 52
53 // Enables a security restriction on iframes navigating their top frame. 53 // Enables a security restriction on iframes navigating their top frame.
54 // When enabled, the navigation will only be permitted if the iframe is 54 // When enabled, the navigation will only be permitted if the iframe is
55 // same-origin to the top frame, or if a user gesture is being processed. 55 // same-origin to the top frame, or if a user gesture is being processed.
56 const base::Feature kFramebustingNeedsSameOriginOrUserGesture{ 56 const base::Feature kFramebustingNeedsSameOriginOrUserGesture{
57 "FramebustingNeedsSameOriginOrUserGesture", 57 "FramebustingNeedsSameOriginOrUserGesture",
58 base::FEATURE_ENABLED_BY_DEFAULT}; 58 base::FEATURE_DISABLED_BY_DEFAULT};
59 59
60 // Enables extended Gamepad API features like motion tracking and haptics. 60 // Enables extended Gamepad API features like motion tracking and haptics.
61 const base::Feature kGamepadExtensions{"GamepadExtensions", 61 const base::Feature kGamepadExtensions{"GamepadExtensions",
62 base::FEATURE_DISABLED_BY_DEFAULT}; 62 base::FEATURE_DISABLED_BY_DEFAULT};
63 63
64 // FeatureList definition for trials to enable the download button on 64 // FeatureList definition for trials to enable the download button on
65 // MediaDocument. 65 // MediaDocument.
66 const base::Feature kMediaDocumentDownloadButton{ 66 const base::Feature kMediaDocumentDownloadButton{
67 "MediaDocumentDownloadButton", 67 "MediaDocumentDownloadButton",
68 base::FEATURE_DISABLED_BY_DEFAULT 68 base::FEATURE_DISABLED_BY_DEFAULT
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 #endif 209 #endif
210 210
211 #if defined(OS_WIN) 211 #if defined(OS_WIN)
212 // Emergency "off switch" for new Windows sandbox security mitigation, 212 // Emergency "off switch" for new Windows sandbox security mitigation,
213 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. 213 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE.
214 const base::Feature kWinSboxDisableExtensionPoints{ 214 const base::Feature kWinSboxDisableExtensionPoints{
215 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; 215 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT};
216 #endif 216 #endif
217 217
218 } // namespace features 218 } // namespace features
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/security/frameNavigation/xss-DENIED-top-navigation-without-user-gesture.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698