blob: 7c1d15dc11e23a72b74947fea9bddce779e3b7ab [file] [log] [blame]
<!DOCTYPE html>
<html>
<body>
<script>
if (window.testRunner) {
testRunner.waitUntilDone();
testRunner.dumpAsText();
}
function eventhandler() {
inputNode = document.getElementById("imageInput");
inputNode.type = "";
setTimeout("cleanup()", 10);
}
function cleanup() {
if (window.testRunner)
{
testRunner.notifyDone();
}
}
</script>
<input>
<input id="imageInput" type="image" onerror="eventhandler()" src="http://127.0.0.1/not-likely-to-be-found.html" />
</input>
Test Passes if it does not crash.
</body>
</html>