| <!DOCTYPE html> |
| <html><head> |
| <title>Ping</title> |
| <script src="resources/utilities.js"></script> |
| <script> |
| if (window.testRunner && window.internals) { |
| testRunner.dumpAsText(); |
| internals.settings.setHyperlinkAuditingEnabled(true); |
| testRunner.waitUntilDone(); |
| } |
| |
| function test() |
| { |
| setCookie(); |
| clickElement(document.getElementById("a")); |
| } |
| |
| window.onload = function () |
| { |
| clearLastPingResultAndRunTest(test); |
| } |
| </script> |
| </head> |
| <body> |
| <img src="non-existent-image.jpg"> |
| <a id="a" href="../resources/check-ping.php" ping="../resources/save-Ping.php">Navigate and send ping</a> |
| </body></html> |