| <!DOCTYPE html> |
| <html> |
| <head> |
| <title>Ping</title> |
| <script src="resources/utilities.js"></script> |
| <script> |
| |
| var testCalled = false; |
| |
| function test() { |
| if (!testCalled) { |
| if (window.testRunner && window.internals) { |
| testRunner.dumpAsText(); |
| internals.settings.setHyperlinkAuditingEnabled(true); |
| testRunner.waitUntilDone(); |
| } |
| testCalled = true; |
| return; |
| } |
| |
| clickElement(document.getElementById("a")); |
| } |
| |
| </script> |
| </head> |
| <body onload="test();"> |
| <img src="../resources/delete-ping.py" onload="test();" onerror="test();"></img> |
| <a id="a" href="../resources/check-ping.py" ping="../resources/save-ping.py">Navigate and send ping</a> |
| </body></html> |