blob: 7c73ccad85a098e32f18222c7ceb90b36b4708f9 [file] [log] [blame]
<html>
<body>
<div>Test that onerror fires for a script with HTTP status 500.</div>
<div id=result>Testing...</div>
<script>
if (window.testRunner)
testRunner.dumpAsText();
</script>
<script onerror="document.getElementById('result').innerHTML = 'PASS';" src="resources/script-500.php" type="text/javascript"></script>
</body>
</html>