blob: ed3cb7af8842dc8a19849356469cfb547f574b9f [file] [log] [blame]
<!DOCTYPE html>
<body>
Test passes if no crash with ASAN.
<input value="boom">
<script>
if (window.testRunner) {
testRunner.waitUntilDone();
testRunner.dumpAsText();
}
var input = document.getElementsByTagName('input')[0];
function explode() {
var value = input.value;
if (value) {
input.value = value.substr(0, value.length - 1);
window.setTimeout(explode, 0);
} else {
window.location.href="javascript:''";
if (window.testRunner)
testRunner.notifyDone();
}
}
explode();
</script>