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

Unified Diff: content/public/common/content_switches.cc

Issue 2543723002: Add switch to disable WebVR gesture requirement
Patch Set: Fixed DisabledEnabled naming Created 4 years 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 side-by-side diff with in-line comments
Download patch
Index: content/public/common/content_switches.cc
diff --git a/content/public/common/content_switches.cc b/content/public/common/content_switches.cc
index 1668c5a7816c9fd57bad58df9277e38d3a04fefc..ce33bef418b4b443795496a03a8a1055611c799b 100644
--- a/content/public/common/content_switches.cc
+++ b/content/public/common/content_switches.cc
@@ -304,6 +304,11 @@ const char kDisableWebGLImageChromium[] = "disable-webgl-image-chromium";
// Don't enforce the same-origin policy. (Used by people testing their sites.)
const char kDisableWebSecurity[] = "disable-web-security";
+// Disables WebVR's user gesture requirement in order to present so that
+// automated tests can be run in cases where we cannot mint gesture tokens
+const char kDisableWebVrGesturesForTests[] =
+ "disable-webvr-gestures-for-tests";
ddorwin 2016/11/30 23:33:34 "webvr gestures" sounds like a feature. Should we
bsheedy 2016/11/30 23:59:12 Done.
+
// Disables Blink's XSSAuditor. The XSSAuditor mitigates reflective XSS.
const char kDisableXSSAuditor[] = "disable-xss-auditor";

Powered by Google App Engine
This is Rietveld 408576698