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

Unified Diff: LayoutTests/http/tests/security/contentSecurityPolicy/resources/report-test.js

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: LayoutTests/http/tests/security/contentSecurityPolicy/resources/report-test.js
diff --git a/LayoutTests/http/tests/security/contentSecurityPolicy/resources/report-test.js b/LayoutTests/http/tests/security/contentSecurityPolicy/resources/report-test.js
index f09f143757210b44d478662d292a72b1f52ee59e..43f0ca70c03b752260b9ba43b3c44a34e745b4a1 100644
--- a/LayoutTests/http/tests/security/contentSecurityPolicy/resources/report-test.js
+++ b/LayoutTests/http/tests/security/contentSecurityPolicy/resources/report-test.js
@@ -2,3 +2,5 @@ if (window.testRunner) {
testRunner.dumpAsText();
testRunner.dumpPingLoaderCallbacks();
}
+if (window.internals)
+ internals.settings.setExperimentalContentSecurityPolicyFeaturesEnabled(false);

Powered by Google App Engine
This is Rietveld 408576698