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

Unified Diff: LayoutTests/http/tests/security/subresourceIntegrity/subresource-integrity-blocked.html

Issue 566083003: Implementation of subresource integrity attribute for secure origins. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Block resources at insecure origins Created 6 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
Index: LayoutTests/http/tests/security/subresourceIntegrity/subresource-integrity-blocked.html
diff --git a/LayoutTests/http/tests/security/subresourceIntegrity/subresource-integrity-blocked.html b/LayoutTests/http/tests/security/subresourceIntegrity/subresource-integrity-blocked.html
new file mode 100644
index 0000000000000000000000000000000000000000..e50fd672d6f33ae05837b8f5b8d5b56d4ecd1eb0
--- /dev/null
+++ b/LayoutTests/http/tests/security/subresourceIntegrity/subresource-integrity-blocked.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<html>
+ <body>
+ <script>
+ if (window.testRunner)
+ testRunner.dumpAsText();
+ </script>
+ <p>
+ This test passes if no 'FAIL' alert appears.
+ </p>
+ <script src='fail.js' integrity="pgUiYTMl3j+Nyfyc6EJkFsn//acTBz/ZqOtWnzTuSC4="></script>
Mike West 2014/09/13 03:44:31 I'm sure you realize that this isn't the `ni:///`
jww 2014/09/15 21:20:16 Oh, yes, I'm definitely aware. I actually plan on
+ </body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698