Index: LayoutTests/http/tests/security/subresourceIntegrity/subresource-integrity-invalid-integrity.html |
diff --git a/LayoutTests/http/tests/security/subresourceIntegrity/subresource-integrity-invalid-integrity.html b/LayoutTests/http/tests/security/subresourceIntegrity/subresource-integrity-invalid-integrity.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..b29411d0f4eb8d84035fbf8727c9ca292bb2afc9 |
--- /dev/null |
+++ b/LayoutTests/http/tests/security/subresourceIntegrity/subresource-integrity-invalid-integrity.html |
@@ -0,0 +1,16 @@ |
+<!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="yM5ZyzNsyKfaXRY78zSGapeQKtl0oGdpPpYxgwl8XW8="></script> |
+ <script src='fail.js' integrity="ni://#yM5ZyzNsyKfaXRY78zSGapeQKtl0oGdpPpYxgwl8XW8="></script> |
+ <script src='fail.js' integrity="yM5ZyzNsyKfaXRY78zSGapeQKtl0oGdpPpYxgwl8XW8="></script> |
+ <script src='fail.js' integrity="ni://sha1;Ywd5te2RvxmuHLzLzZjYo1/0LMw="></script> |
+ </body> |
+</html> |