blob: 6e811cdd87f9d33a1c5ebfcf43f3f854a6ef7a3e [file] [log] [blame]
<!DOCTYPE html>
<body>
<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:'Test passes if no crash with ASAN.'";
if (window.testRunner)
testRunner.notifyDone();
}
}
explode();
</script>