Index: third_party/WebKit/LayoutTests/http/tests/security/mixedContent/active-subresource-in-iframe-blocked.https.html |
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/mixedContent/active-subresource-in-iframe-blocked.https.html b/third_party/WebKit/LayoutTests/http/tests/security/mixedContent/active-subresource-in-iframe-blocked.https.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..4219f69a3afd95ef7353c5ebf06af4196faf9517 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/http/tests/security/mixedContent/active-subresource-in-iframe-blocked.https.html |
@@ -0,0 +1,20 @@ |
+<!doctype html> |
+<html> |
+<head> |
+ <script> |
+ if (window.testRunner) { |
+ // This test checks that active mixed subresources in iframes |
+ // are always blocked without asking the embedder. So the test |
+ // sets the embedder to allow running insecure content, and |
+ // then checks that the content is blocked despite the |
+ // embedder's setting. |
+ testRunner.setAllowRunningOfInsecureContent(true); |
+ testRunner.dumpAsText(); |
+ } |
+ </script> |
+</head> |
+<body> |
+ <p>This test passes if the active subresource in the frame below is blocked.</p> |
+ <iframe src="resources/frame-with-insecure-css.html"></iframe> |
+</body> |
+</html> |