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

Unified Diff: LayoutTests/http/tests/security/contentSecurityPolicy/resources/csp-header-is-sent.js

Issue 1142623002: Stop sending the 'CSP' header. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Nit. Created 5 years, 7 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
« no previous file with comments | « no previous file | Source/core/frame/csp/CSPDirectiveList.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/http/tests/security/contentSecurityPolicy/resources/csp-header-is-sent.js
diff --git a/LayoutTests/http/tests/security/contentSecurityPolicy/resources/csp-header-is-sent.js b/LayoutTests/http/tests/security/contentSecurityPolicy/resources/csp-header-is-sent.js
index cbb985d033f6b27290d0240bd614fed30bf4b5f7..e9664f9d626111b97ea8c6210d20c5d434128c58 100644
--- a/LayoutTests/http/tests/security/contentSecurityPolicy/resources/csp-header-is-sent.js
+++ b/LayoutTests/http/tests/security/contentSecurityPolicy/resources/csp-header-is-sent.js
@@ -13,5 +13,5 @@ async_test(function(t) {
}, 'CSP header is not sent on resource requests for which there is no policy.');
test(function() {
- assert_true(typeof(script_loaded) !== "undefined");
-}, 'CSP header is sent on resource requests for which there is a policy.');
+ assert_true(typeof(script_loaded) === "undefined");
+}, 'CSP header is not sent on resource requests for which there is a policy.');
« no previous file with comments | « no previous file | Source/core/frame/csp/CSPDirectiveList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698