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

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

Issue 1008673002: Re-enabling --disable-xss-auditor flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed merge conflicts Created 5 years, 9 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 namespace switches { 7 namespace switches {
8 8
9 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to 9 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to
10 // have an effect. 0 disables MSAA. 10 // have an effect. 0 disables MSAA.
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 257
258 // Disable multithreaded, compositor scrolling of web content. 258 // Disable multithreaded, compositor scrolling of web content.
259 const char kDisableThreadedScrolling[] = "disable-threaded-scrolling"; 259 const char kDisableThreadedScrolling[] = "disable-threaded-scrolling";
260 260
261 // Disable V8 idle tasks. 261 // Disable V8 idle tasks.
262 const char kDisableV8IdleTasks[] = "disable-v8-idle-tasks"; 262 const char kDisableV8IdleTasks[] = "disable-v8-idle-tasks";
263 263
264 // Don't enforce the same-origin policy. (Used by people testing their sites.) 264 // Don't enforce the same-origin policy. (Used by people testing their sites.)
265 const char kDisableWebSecurity[] = "disable-web-security"; 265 const char kDisableWebSecurity[] = "disable-web-security";
266 266
267 // Disables Blink's XSSAuditor. The XSSAuditor mitigates reflective XSS.
268 const char kDisableXSSAuditor[] = "disable-xss-auditor";
269
267 // Specifies if the |DOMAutomationController| needs to be bound in the 270 // Specifies if the |DOMAutomationController| needs to be bound in the
268 // renderer. This binding happens on per-frame basis and hence can potentially 271 // renderer. This binding happens on per-frame basis and hence can potentially
269 // be a performance bottleneck. One should only enable it when automating dom 272 // be a performance bottleneck. One should only enable it when automating dom
270 // based tests. 273 // based tests.
271 const char kDomAutomationController[] = "dom-automation"; 274 const char kDomAutomationController[] = "dom-automation";
272 275
273 // Enable antialiasing on 2d canvas clips (as opposed to draw operations) 276 // Enable antialiasing on 2d canvas clips (as opposed to draw operations)
274 const char kEnable2dCanvasClipAntialiasing[] = "enable-2d-canvas-clip-aa"; 277 const char kEnable2dCanvasClipAntialiasing[] = "enable-2d-canvas-clip-aa";
275 278
276 // Disable partially decoding jpeg images using the GPU. 279 // Disable partially decoding jpeg images using the GPU.
(...skipping 708 matching lines...) Expand 10 before | Expand all | Expand 10 after
985 const char kEnableNpapi[] = "enable-npapi"; 988 const char kEnableNpapi[] = "enable-npapi";
986 989
987 #if defined(ENABLE_PLUGINS) 990 #if defined(ENABLE_PLUGINS)
988 // Enables the plugin power saver feature. 991 // Enables the plugin power saver feature.
989 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver"; 992 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver";
990 #endif 993 #endif
991 994
992 // Don't dump stuff here, follow the same order as the header. 995 // Don't dump stuff here, follow the same order as the header.
993 996
994 } // namespace switches 997 } // 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