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

Unified Diff: LayoutTests/http/tests/security/contentSecurityPolicy/1.1/scripthash-malformed.html

Issue 700463003: CSP: Harden hash parsing. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Nit. Created 6 years, 1 month 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 | LayoutTests/http/tests/security/contentSecurityPolicy/1.1/scripthash-malformed-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/http/tests/security/contentSecurityPolicy/1.1/scripthash-malformed.html
diff --git a/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/scripthash-malformed.html b/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/scripthash-malformed.html
new file mode 100644
index 0000000000000000000000000000000000000000..8dffed76ab306c7ee6dd63d4fc2008290ffac76d
--- /dev/null
+++ b/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/scripthash-malformed.html
@@ -0,0 +1,5 @@
+<script>
+ if (window.testRunner)
+ testRunner.dumpAsText();
+</script>
+<meta http-equiv="Content-Security-Policy" content="script-src 'sha1-vMUNaexq6wlYKxWWPlJUOvhn67U=' 'sha256-j+ToFnhur5mTSCwoyy4Fh; 'sha512-0tQJUSPHRGUYQIa2ByQWZSlUa5sI3e2tOEXF7sg5mjmsHk/EHDTTORIDyMPhDKgCmb7TIrwhLrq2kEvfjHQ=='">
« no previous file with comments | « no previous file | LayoutTests/http/tests/security/contentSecurityPolicy/1.1/scripthash-malformed-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698