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

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

Issue 961633002: Mixed Content: Remove redundant pref from tests. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <html><head> 1 <html><head>
2 <title>Ping</title> 2 <title>Ping</title>
3 <script> 3 <script>
4 4
5 var testCalled = false; 5 var testCalled = false;
6 6
7 function test() { 7 function test() {
8 if (!testCalled) { 8 if (!testCalled) {
9 if (window.testRunner) { 9 if (window.testRunner) {
10 testRunner.dumpAsText(); 10 testRunner.dumpAsText();
11 testRunner.overridePreference("WebKitHyperlinkAuditingEnabled", 1); 11 testRunner.overridePreference("WebKitHyperlinkAuditingEnabled", 1);
12 testRunner.waitUntilDone(); 12 testRunner.waitUntilDone();
13 testRunner.dumpPingLoaderCallbacks(); 13 testRunner.dumpPingLoaderCallbacks();
14 testRunner.overridePreference("WebKitAllowRunningInsecureContent", f alse);
15 testRunner.setAllowRunningOfInsecureContent(false); 14 testRunner.setAllowRunningOfInsecureContent(false);
16 } 15 }
17 testCalled = true; 16 testCalled = true;
18 return; 17 return;
19 } 18 }
20 19
21 if (window.eventSender) { 20 if (window.eventSender) {
22 var a = document.getElementById("a"); 21 var a = document.getElementById("a");
23 eventSender.mouseMoveTo(a.offsetLeft + 2, a.offsetTop + 2); 22 eventSender.mouseMoveTo(a.offsetLeft + 2, a.offsetTop + 2);
24 eventSender.mouseDown(); 23 eventSender.mouseDown();
25 eventSender.mouseUp(); 24 eventSender.mouseUp();
26 } 25 }
27 } 26 }
28 27
29 </script> 28 </script>
30 </head> 29 </head>
31 <body onload="test();"> 30 <body onload="test();">
32 <img src="resources/delete-ping.php?test=cross-origin-from-https" onload="test() ;" onerror="test();"></img> 31 <img src="resources/delete-ping.php?test=cross-origin-from-https" onload="test() ;" onerror="test();"></img>
33 <a id="a" href="/navigation/resources/notify-done.html" ping="http://localhost:8 000/navigation/resources/save-Ping.php?test=cross-origin-from-https">Navigate an d send ping</a> 32 <a id="a" href="/navigation/resources/notify-done.html" ping="http://localhost:8 000/navigation/resources/save-Ping.php?test=cross-origin-from-https">Navigate an d send ping</a>
34 </body></html> 33 </body></html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698