<!DOCTYPE html> | |
<html> | |
<head> | |
<title>This tests that submitting a form soon after changing the input type is ok.</title> | |
</head> | |
<body> | |
PASS if no crash or assert. | |
<form id=formToSubmit><input id=inputToChange results="1"></form> | |
<script> | |
if (window.testRunner) | |
testRunner.dumpAsText(); | |
document.body.offsetHeight; | |
inputToChange.value = "1"; | |
inputToChange.type = "search"; | |
formToSubmit.submit(); | |
</script> | |
<body> | |
</html> |