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

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

Issue 830393006: Removing --disable-xss-auditor flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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_switches.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "content/public/common/content_switches.h" 5 #include "content/public/common/content_switches.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/metrics/field_trial.h" 8 #include "base/metrics/field_trial.h"
9 9
10 namespace switches { 10 namespace switches {
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 // Overrides kEnableV8IdleNotificationAfterCommit. 261 // Overrides kEnableV8IdleNotificationAfterCommit.
262 const char kDisableV8IdleNotificationAfterCommit[] = 262 const char kDisableV8IdleNotificationAfterCommit[] =
263 "disable-v8-idle-notification-after-commit"; 263 "disable-v8-idle-notification-after-commit";
264 264
265 // Don't enforce the same-origin policy. (Used by people testing their sites.) 265 // Don't enforce the same-origin policy. (Used by people testing their sites.)
266 const char kDisableWebSecurity[] = "disable-web-security"; 266 const char kDisableWebSecurity[] = "disable-web-security";
267 267
268 // Disables support for XSLT. 268 // Disables support for XSLT.
269 const char kDisableXSLT[] = "disable-xslt"; 269 const char kDisableXSLT[] = "disable-xslt";
270 270
271 // Disables Blink's XSSAuditor. The XSSAuditor mitigates reflective XSS.
272 const char kDisableXSSAuditor[] = "disable-xss-auditor";
273
274 // Specifies if the |DOMAutomationController| needs to be bound in the 271 // Specifies if the |DOMAutomationController| needs to be bound in the
275 // renderer. This binding happens on per-frame basis and hence can potentially 272 // renderer. This binding happens on per-frame basis and hence can potentially
276 // be a performance bottleneck. One should only enable it when automating dom 273 // be a performance bottleneck. One should only enable it when automating dom
277 // based tests. 274 // based tests.
278 const char kDomAutomationController[] = "dom-automation"; 275 const char kDomAutomationController[] = "dom-automation";
279 276
280 // Enable antialiasing on 2d canvas clips (as opposed to draw operations) 277 // Enable antialiasing on 2d canvas clips (as opposed to draw operations)
281 const char kEnable2dCanvasClipAntialiasing[] = "enable-2d-canvas-clip-aa"; 278 const char kEnable2dCanvasClipAntialiasing[] = "enable-2d-canvas-clip-aa";
282 279
283 // Disable partially decoding jpeg images using the GPU. 280 // Disable partially decoding jpeg images using the GPU.
(...skipping 704 matching lines...) Expand 10 before | Expand all | Expand 10 after
988 if (cmd_line->HasSwitch(kDisableWin32kRendererLockDown)) 985 if (cmd_line->HasSwitch(kDisableWin32kRendererLockDown))
989 return false; 986 return false;
990 // Default. 987 // Default.
991 return group_name == "Enabled"; 988 return group_name == "Enabled";
992 } 989 }
993 #endif 990 #endif
994 991
995 // Don't dump stuff here, follow the same order as the header. 992 // Don't dump stuff here, follow the same order as the header.
996 993
997 } // namespace switches 994 } // namespace switches
OLDNEW
« no previous file with comments | « content/public/common/content_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698