25 lines
416 B
HTML
25 lines
416 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<body>
|
|
<script>
|
|
if (window.testRunner) {
|
|
testRunner.dumpAsText();
|
|
testRunner.waitUntilDone();
|
|
}
|
|
|
|
function finish() {
|
|
if (window.testRunner)
|
|
testRunner.notifyDone();
|
|
}
|
|
|
|
function crash() {
|
|
document.body.innerHTML = "PASS. WebKit didn't crash.";
|
|
setTimeout("finish()", 0);
|
|
}
|
|
</script>
|
|
<object data="a">
|
|
<input autofocus="" onfocus="crash()">
|
|
</object>
|
|
</body>
|
|
</html>
|