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

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

Issue 1360693002: Apply CSP default-src hash values to script-src and style src. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Test fix Created 5 years, 3 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 | LayoutTests/http/tests/security/contentSecurityPolicy/1.1/stylehash-default-src.html » ('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-default-src.html
diff --git a/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/scripthash-default-src.html b/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/scripthash-default-src.html
new file mode 100644
index 0000000000000000000000000000000000000000..1c9c19d0ae3dcaf845a25ca78730ecc7b08e5c00
--- /dev/null
+++ b/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/scripthash-default-src.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>Script Hash allow hash in default-src</title>
+ <script src="../../../resources/testharness.js"></script>
+ <script src="../../../resources/testharnessreport.js"></script>
+ <meta http-equiv="Content-Security-Policy" content="default-src * 'sha256-oS9uHuKPPT/hdBOV7e3D9Wa2G7yVuxbIPkahJ/26zEc='">
+ </head>
+
+ <script>
+ done();
+ </script>
+</html>
« no previous file with comments | « no previous file | LayoutTests/http/tests/security/contentSecurityPolicy/1.1/stylehash-default-src.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698