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

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

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-expected.txt
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/script-src-appended-script-expected.txt b/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/require-sri-for-script-blocked-expected.txt
similarity index 57%
copy from third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/script-src-appended-script-expected.txt
copy to third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/require-sri-for-script-blocked-expected.txt
index eda590772278604c0667efbaea98dbf2d62cf42b..bab237d2b9f0819d0fbadfc9ac25895a7ce2f332 100644
--- a/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/script-src-appended-script-expected.txt
+++ b/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/require-sri-for-script-blocked-expected.txt
@@ -1,3 +1,2 @@
-CONSOLE ERROR: line 14: Refused to load the script 'http://localhost:8000/security/contentSecurityPolicy/resources/script.js' because it violates the following Content Security Policy directive: "script-src 'unsafe-inline'".
-
+CONSOLE ERROR: line 14: Refused to load the script 'http://localhost:8000/security/contentSecurityPolicy/resources/script.js' because 'require-sri-for' directive requires integrity attribute be present for all scripts.
PASS

Powered by Google App Engine
This is Rietveld 408576698