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 271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
293 #endif // !defined(OS_ANDROID) | 300 #endif // !defined(OS_ANDROID) |
294 | 301 |
295 #if defined(OS_WIN) | 302 #if defined(OS_WIN) |
296 // Emergency "off switch" for new Windows sandbox security mitigation, | 303 // Emergency "off switch" for new Windows sandbox security mitigation, |
297 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. | 304 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. |
298 const base::Feature kWinSboxDisableExtensionPoints{ | 305 const base::Feature kWinSboxDisableExtensionPoints{ |
299 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; | 306 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; |
300 #endif | 307 #endif |
301 | 308 |
302 } // namespace features | 309 } // namespace features |
OLD | NEW |