Index: LayoutTests/http/tests/inspector-protocol/request-mixed-content-status-blockable.html |
diff --git a/LayoutTests/http/tests/inspector-protocol/request-mixed-content-status-blockable.html b/LayoutTests/http/tests/inspector-protocol/request-mixed-content-status-blockable.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..b8124a5618af43e4fcfc7f2527c1b46b45d7ab22 |
--- /dev/null |
+++ b/LayoutTests/http/tests/inspector-protocol/request-mixed-content-status-blockable.html |
@@ -0,0 +1,21 @@ |
+<!DOCTYPE html> |
+<html> |
+<head> |
+<script type="text/javascript" src="../inspector-protocol/inspector-protocol-test.js"></script> |
+<script src="/resources/get-host-info.js"></script> |
+<script src="resources/mixed-content-type-test.js"></script> |
+<script> |
+// The test() function is defined in mixed-content-type-test.js and |
+// calls this function to add mixed content to the page. |
+function addIframeWithMixedContent() |
+{ |
+ var iframe = document.createElement("iframe"); |
+ iframe.src = get_host_info().HTTPS_ORIGIN + "/inspector-protocol/resources/active-mixed-content-iframe.html"; |
+ document.body.appendChild(iframe); |
+} |
+</script> |
+</head> |
+<body onload="runTest()"> |
+ <p>Tests that willSendRequest contains the correct mixed content status for active mixed content.</p> |
+</body> |
+</html> |