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

Side by Side Diff: LayoutTests/http/tests/navigation/ping-cookie.html

Issue 22159002: Add 'didDispatchPingLoader' callback to FrameLoaderClient. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/http/tests/navigation/ping-cookie-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 } 14 }
14 testCalled = true; 15 testCalled = true;
15 return; 16 return;
16 } 17 }
17 try { 18 try {
18 var xhr = new XMLHttpRequest(); 19 var xhr = new XMLHttpRequest();
19 xhr.open("GET", "../cookies/resources/setCookies.cgi", false); 20 xhr.open("GET", "../cookies/resources/setCookies.cgi", false);
20 xhr.setRequestHeader("SET-COOKIE", "hello=world;path=/"); 21 xhr.setRequestHeader("SET-COOKIE", "hello=world;path=/");
21 xhr.send(null); 22 xhr.send(null);
22 if (xhr.status != 200) { 23 if (xhr.status != 200) {
(...skipping 14 matching lines...) Expand all
37 eventSender.mouseUp(); 38 eventSender.mouseUp();
38 } 39 }
39 } 40 }
40 41
41 </script> 42 </script>
42 </head> 43 </head>
43 <body onload="test();"> 44 <body onload="test();">
44 <img src="resources/delete-ping.php" onload="test();" onerror="test();"></img> 45 <img src="resources/delete-ping.php" onload="test();" onerror="test();"></img>
45 <a id="a" href="resources/check-ping.php" ping="resources/save-Ping.php">Navigat e and send ping</a> 46 <a id="a" href="resources/check-ping.php" ping="resources/save-Ping.php">Navigat e and send ping</a>
46 </body></html> 47 </body></html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/http/tests/navigation/ping-cookie-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698