<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="content-type">
  <title>Crash Testcase</title>
  <script type="text/javascript">
function crash()
{
  var inp = document.getElementById("theinp");
  inp.type = "file";
}
  </script>
</head>
<body onload="crash();">
<input id="theinp" type="text">
</body>
</html>