Add tests for <area ping>
[WebKit-https.git] / LayoutTests / http / tests / navigation / ping-attribute / anchor-cookie.html
1 <!DOCTYPE html>
2 <html><head>
3 <title>Ping</title>
4 <script src="resources/utilities.js"></script>
5 <script>
6 if (window.testRunner) {
7     testRunner.dumpAsText();
8     testRunner.overridePreference("WebKitHyperlinkAuditingEnabled", 1);
9     testRunner.waitUntilDone();
10 }
11
12 function test()
13 {
14     setCookie();
15     clickElement(document.getElementById("a"));
16 }
17
18 window.onload = function ()
19 {
20     clearLastPingResultAndRunTest(test);
21 }
22 </script>
23 </head>
24 <body>
25 <img src="non-existent-image.jpg">
26 <a id="a" href="../resources/check-ping.php" ping="../resources/save-Ping.php">Navigate and send ping</a>
27 </body></html>