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

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

Issue 17895003: Add --expose-internals-for-testing flag (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 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 78eb53aa273ef7ee8f760c17384df3fe09e020b3..b4184a7d25113b0aead664b0056de6439e6bcc63 100644
--- a/content/public/common/content_switches.cc
+++ b/content/public/common/content_switches.cc
@@ -468,6 +468,11 @@ const char kEnableViewport[] = "enable-viewport";
// - Location platform support for Windows 7
const char kExperimentalLocationFeatures[] = "experimental-location-features";
+// Exposes the window.internals object to JavaScript for interactive development
+// and debugging of layout tests that rely on it. For testing only, since
+// (like other testing flags) it has security implications.
+const char kExposeInternalsForTesting[] = "expose-internals-for-testing";
+
// If accelerated compositing is supported, always enter compositing mode for
// the base layer even when compositing is not strictly required.
const char kForceCompositingMode[] = "force-compositing-mode";

Powered by Google App Engine
This is Rietveld 408576698