<html><head>
<title>Ping</title>
<script>
var testCalled = false;
function test() {
if (!testCalled) {
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.overridePreference("WebKitHyperlinkAuditingEnabled", 1);
testRunner.waitUntilDone();
testRunner.dumpPingLoaderCallbacks();
testRunner.overridePreference("WebKitAllowRunningInsecureContent", false);
testRunner.setAllowRunningOfInsecureContent(false);
}
testCalled = true;
return;
}
requestAnimationFrame(() => {
requestAnimationFrame(() => {
document.getElementById("a").click();
});
});
}
</script>
</head>
<body onload="test();">
<img src="resources/delete-ping.php?test=cross-origin-from-https" onload="test();" onerror="test();"></img>
<a id="a" href="/navigation/resources/notify-done.html" ping="http://example.test:8000/navigation/resources/save-Ping.php?test=cross-origin-from-https">Navigate and send ping</a>
</body></html>