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> |