<!DOCTYPE html> | |
<html> | |
<body> | |
<script> | |
if (window.testRunner) | |
testRunner.dumpAsText(); | |
</script> | |
<p>Tests that attempting to ping an invalid file URI doesn't crash WebKit.</p> | |
<a href="#" ping="file://%00/%00/x">Click Me</a><script>document.querySelector('a').click();</script> | |
<p>The test passes if it does not crash.</p> | |
</body> | |
</html> |