Index: LayoutTests/http/tests/security/contentSecurityPolicy/object-src-param-code-blocked.html |
diff --git a/LayoutTests/http/tests/security/contentSecurityPolicy/object-src-param-code-blocked.html b/LayoutTests/http/tests/security/contentSecurityPolicy/object-src-param-code-blocked.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..e7ba845b26087ed2ac942d0d0dc89f28ecfd5671 |
--- /dev/null |
+++ b/LayoutTests/http/tests/security/contentSecurityPolicy/object-src-param-code-blocked.html |
@@ -0,0 +1,13 @@ |
+<!DOCTYPE html> |
+<html> |
+<head> |
+<script src="resources/object-src-param.js"></script> |
+<meta http-equiv="Content-Security-Policy" content="object-src http://localhost:8080"> |
+</head> |
+<body> |
+This test passes if there is a console message saying the plugin was blocked. |
+<script> |
+ appendObjectElement('code'); |
+</script> |
+</body> |
+</html> |