Index: LayoutTests/http/tests/security/contentSecurityPolicy/object-src-param-url-blocked.html |
diff --git a/LayoutTests/http/tests/security/contentSecurityPolicy/object-src-param-url-blocked.html b/LayoutTests/http/tests/security/contentSecurityPolicy/object-src-param-url-blocked.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..d4e78d2a67ab27b7ff9da06a9e261041aa91c67d |
--- /dev/null |
+++ b/LayoutTests/http/tests/security/contentSecurityPolicy/object-src-param-url-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('url'); |
+</script> |
+</body> |
+</html> |