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

Unified Diff: LayoutTests/http/tests/navigation/resources/ping-cross-origin-from-https-target.html

Issue 324013003: Block mixed PingLoader requests. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase. Created 6 years, 6 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/navigation/resources/ping-cross-origin-from-https-target.html
diff --git a/LayoutTests/http/tests/navigation/ping-cross-origin.html b/LayoutTests/http/tests/navigation/resources/ping-cross-origin-from-https-target.html
similarity index 61%
copy from LayoutTests/http/tests/navigation/ping-cross-origin.html
copy to LayoutTests/http/tests/navigation/resources/ping-cross-origin-from-https-target.html
index 1471c024b451624c351411bc54c5cf625bdeada5..83f5cf3d20f8fe17df3e0709d6b4ab577679eade 100644
--- a/LayoutTests/http/tests/navigation/ping-cross-origin.html
+++ b/LayoutTests/http/tests/navigation/resources/ping-cross-origin-from-https-target.html
@@ -11,6 +11,8 @@ function test() {
testRunner.overridePreference("WebKitHyperlinkAuditingEnabled", 1);
testRunner.waitUntilDone();
testRunner.dumpPingLoaderCallbacks();
+ testRunner.overridePreference("WebKitAllowRunningInsecureContent", false);
+ testRunner.setAllowRunningOfInsecureContent(false);
}
testCalled = true;
return;
@@ -27,6 +29,6 @@ function test() {
</script>
</head>
<body onload="test();">
-<img src="resources/delete-ping.php?test=cross-origin" onload="test();" onerror="test();"></img>
-<a id="a" href="resources/check-ping.php?test=cross-origin" ping="http://localhost:8000/navigation/resources/save-Ping.php?test=cross-origin">Navigate and send ping</a>
+<img src="resources/delete-ping.php?test=cross-origin-from-https" onload="test();" onerror="test();"></img>
+<a id="a" href="/navigation/resources/notify-done.html" ping="http://localhost:8000/navigation/resources/save-Ping.php?test=cross-origin-from-https">Navigate and send ping</a>
</body></html>
« no previous file with comments | « LayoutTests/http/tests/navigation/ping-cross-origin-from-https-expected.txt ('k') | Source/core/loader/PingLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698