Index: LayoutTests/http/tests/security/mixedContent/strict-mode-image-in-frame-blocked.https.html |
diff --git a/LayoutTests/http/tests/security/mixedContent/strict-mode-image-in-frame-blocked.https.html b/LayoutTests/http/tests/security/mixedContent/strict-mode-image-in-frame-blocked.https.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..802db8fe7bb6ab81c9a36494701f468f5343273f |
--- /dev/null |
+++ b/LayoutTests/http/tests/security/mixedContent/strict-mode-image-in-frame-blocked.https.html |
@@ -0,0 +1,20 @@ |
+<!doctype html> |
+<html> |
+<head> |
+ <meta http-equiv="Content-Security-Policy" content="strict-mixed-content-checking"> |
+ <script> |
+ if (window.testRunner) { |
+ testRunner.waitUntilDone(); |
+ testRunner.dumpAsText(); |
+ } |
+ window.addEventListener("message", function (e) { |
+ if (window.testRunner) |
+ testRunner.notifyDone(); |
+ }, false); |
+ </script> |
+</head> |
+<body> |
+ <p>This test passes if the image in the frame below is treated as blockable content.</p> |
+ <iframe src="resources/frame-with-insecure-image.html"></iframe> |
+</body> |
+</html> |