Index: LayoutTests/http/tests/security/contentSecurityPolicy/1.1/scripthash-basic-blocked-error-event.html |
diff --git a/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/scripthash-basic-blocked-error-event.html b/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/scripthash-basic-blocked-error-event.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..d0edacc10a74b6bbf3011be39003360dd53d883b |
--- /dev/null |
+++ b/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/scripthash-basic-blocked-error-event.html |
@@ -0,0 +1,10 @@ |
+<!DOCTYPE html> |
+<head> |
+ <title>CSP script-hash block causes error event</title> |
+ <script src="/resources/testharness.js"></script> |
+ <script src="/resources/testharnessreport.js"></script> |
+ <meta http-equiv="Content-Security-Policy" content="script-src 'self' 'sha256-deadbeef'"></meta> |
+</head> |
+<body> |
+ <script src="../resources/fail-to-inject-script.js"></script> |
+</body> |