Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(39)

Unified Diff: LayoutTests/http/tests/inspector-protocol/request-mixed-content-status-optionally-blockable.html

Issue 1303033004: Split up mixed content devtools test into 3 separate tests (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/http/tests/inspector-protocol/request-mixed-content-status-optionally-blockable.html
diff --git a/LayoutTests/http/tests/inspector-protocol/request-mixed-content-status-optionally-blockable.html b/LayoutTests/http/tests/inspector-protocol/request-mixed-content-status-optionally-blockable.html
new file mode 100644
index 0000000000000000000000000000000000000000..c3af1c9609ab39be8f7f30821adc262642d3c09b
--- /dev/null
+++ b/LayoutTests/http/tests/inspector-protocol/request-mixed-content-status-optionally-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/passive-mixed-content-iframe.html";
+ document.body.appendChild(iframe);
+}
+</script>
+</head>
+<body onload="runTest()">
+ <p>Tests that willSendRequest contains the correct mixed content status for passive mixed content.</p>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698