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

Unified Diff: Source/core/testing/InternalSettings.h

Issue 131103003: CSP: Add a mechanism to disable CSP 1.1 for layout tests. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 side-by-side diff with in-line comments
Download patch
Index: Source/core/testing/InternalSettings.h
diff --git a/Source/core/testing/InternalSettings.h b/Source/core/testing/InternalSettings.h
index c8770d5bd350473f3ed45d330f89acefcd28bf5d..587d44dedd1c8d6290786e81f41333bd3b3b8abf 100644
--- a/Source/core/testing/InternalSettings.h
+++ b/Source/core/testing/InternalSettings.h
@@ -53,6 +53,7 @@ public:
bool m_originalAuthorShadowDOMForAnyElementEnabled;
bool m_originalExperimentalWebSocketEnabled;
bool m_originalStyleScoped;
+ bool m_originalCSP;
bool m_originalOverlayScrollbarsEnabled;
EditingBehaviorType m_originalEditingBehavior;
bool m_originalTextAutosizingEnabled;
@@ -118,6 +119,7 @@ public:
void setLangAttributeAwareFormControlUIEnabled(bool);
void setOverlayScrollbarsEnabled(bool);
void setStyleScopedEnabled(bool);
+ void setExperimentalContentSecurityPolicyFeaturesEnabled(bool);
private:
explicit InternalSettings(Page*);

Powered by Google App Engine
This is Rietveld 408576698