| OLD | NEW |
| 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. |
| 13 // Explainer: https://github.com/WICG/aom/blob/master/explainer.md |
| 14 // Spec: https://wicg.github.io/aom/spec/ |
| 15 const base::Feature kAccessibilityObjectModel( |
| 16 "AccessibilityObjectModel", |
| 17 base::FEATURE_DISABLED_BY_DEFAULT); |
| 18 |
| 12 // Enables asm.js to WebAssembly V8 backend. | 19 // Enables asm.js to WebAssembly V8 backend. |
| 13 // http://asmjs.org/spec/latest/ | 20 // http://asmjs.org/spec/latest/ |
| 14 const base::Feature kAsmJsToWebAssembly{"AsmJsToWebAssembly", | 21 const base::Feature kAsmJsToWebAssembly{"AsmJsToWebAssembly", |
| 15 base::FEATURE_DISABLED_BY_DEFAULT}; | 22 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 16 | 23 |
| 17 // Block subresource requests whose URLs contain embedded credentials (e.g. | 24 // Block subresource requests whose URLs contain embedded credentials (e.g. |
| 18 // `https://user:pass@example.com/resource`). | 25 // `https://user:pass@example.com/resource`). |
| 19 const base::Feature kBlockCredentialedSubresources{ | 26 const base::Feature kBlockCredentialedSubresources{ |
| 20 "BlockCredentialedSubresources", base::FEATURE_ENABLED_BY_DEFAULT}; | 27 "BlockCredentialedSubresources", base::FEATURE_ENABLED_BY_DEFAULT}; |
| 21 | 28 |
| (...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 304 #endif // !defined(OS_ANDROID) | 311 #endif // !defined(OS_ANDROID) |
| 305 | 312 |
| 306 #if defined(OS_WIN) | 313 #if defined(OS_WIN) |
| 307 // Emergency "off switch" for new Windows sandbox security mitigation, | 314 // Emergency "off switch" for new Windows sandbox security mitigation, |
| 308 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. | 315 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. |
| 309 const base::Feature kWinSboxDisableExtensionPoints{ | 316 const base::Feature kWinSboxDisableExtensionPoints{ |
| 310 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; | 317 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; |
| 311 #endif | 318 #endif |
| 312 | 319 |
| 313 } // namespace features | 320 } // namespace features |
| OLD | NEW |