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

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

Issue 2787123005: Block data URL navigations with RenderFrameImpl::DecidePolicyForNavigation (Closed)
Patch Set: Attempt another fix Created 3 years, 8 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
« no previous file with comments | « content/public/common/content_features.h ('k') | content/public/test/render_view_test.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
11 11
12 // Enables the Accessibility Object Model. 12 // Enables the Accessibility Object Model.
13 // Explainer: https://github.com/WICG/aom/blob/master/explainer.md 13 // Explainer: https://github.com/WICG/aom/blob/master/explainer.md
14 // Spec: https://wicg.github.io/aom/spec/ 14 // Spec: https://wicg.github.io/aom/spec/
15 const base::Feature kAccessibilityObjectModel( 15 const base::Feature kAccessibilityObjectModel(
16 "AccessibilityObjectModel", 16 "AccessibilityObjectModel",
17 base::FEATURE_DISABLED_BY_DEFAULT); 17 base::FEATURE_DISABLED_BY_DEFAULT);
18 18
19 // Enables content-initiated, main frame navigations to data URLs.
20 // TODO(meacer): Remove when the deprecation is complete.
21 // https://www.chromestatus.com/feature/5669602927312896
22 const base::Feature kAllowContentInitiatedDataUrlNavigations{
23 "AllowContentInitiatedDataUrlNavigations",
24 base::FEATURE_DISABLED_BY_DEFAULT};
25
19 // Enables asm.js to WebAssembly V8 backend. 26 // Enables asm.js to WebAssembly V8 backend.
20 // http://asmjs.org/spec/latest/ 27 // http://asmjs.org/spec/latest/
21 const base::Feature kAsmJsToWebAssembly{"AsmJsToWebAssembly", 28 const base::Feature kAsmJsToWebAssembly{"AsmJsToWebAssembly",
22 base::FEATURE_DISABLED_BY_DEFAULT}; 29 base::FEATURE_DISABLED_BY_DEFAULT};
23 30
24 // Block subresource requests whose URLs contain embedded credentials (e.g. 31 // Block subresource requests whose URLs contain embedded credentials (e.g.
25 // `https://user:pass@example.com/resource`). 32 // `https://user:pass@example.com/resource`).
26 const base::Feature kBlockCredentialedSubresources{ 33 const base::Feature kBlockCredentialedSubresources{
27 "BlockCredentialedSubresources", base::FEATURE_ENABLED_BY_DEFAULT}; 34 "BlockCredentialedSubresources", base::FEATURE_ENABLED_BY_DEFAULT};
28 35
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after
310 #endif // !defined(OS_ANDROID) 317 #endif // !defined(OS_ANDROID)
311 318
312 #if defined(OS_WIN) 319 #if defined(OS_WIN)
313 // Emergency "off switch" for new Windows sandbox security mitigation, 320 // Emergency "off switch" for new Windows sandbox security mitigation,
314 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. 321 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE.
315 const base::Feature kWinSboxDisableExtensionPoints{ 322 const base::Feature kWinSboxDisableExtensionPoints{
316 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; 323 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT};
317 #endif 324 #endif
318 325
319 } // namespace features 326 } // namespace features
OLDNEW
« no previous file with comments | « content/public/common/content_features.h ('k') | content/public/test/render_view_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698