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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/require-sri-for-script-blocked.html

Issue 2056183002: Implement the `require-sri-for` CSP directive (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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: third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/require-sri-for-script-blocked.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/script-src-appended-script.html b/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/require-sri-for-script-blocked.html
similarity index 76%
copy from third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/script-src-appended-script.html
copy to third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/require-sri-for-script-blocked.html
index e99c714f1c0ae276844cf124ea4dd0e54e2708f6..6513003de227a59d0d6c694bf837486aa5cfd1c9 100644
--- a/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/script-src-appended-script.html
+++ b/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/require-sri-for-script-blocked.html
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
- <meta http-equiv="Content-Security-Policy" content="script-src 'unsafe-inline'">
+ <meta http-equiv="Content-Security-Policy" content="require-sri-for script; script-src 'unsafe-inline' *">
Mike West 2016/06/10 09:25:15 Please write this as a `testharness.js` test. See
</head>
<body>
<div id="result" text="FAIL">PASS</div>

Powered by Google App Engine
This is Rietveld 408576698