Home | History | Annotate | Download | only in assets
      1 <script>
      2 function crash()
      3 {
      4     /* Ensure we have no frame when the exception is thrown. */
      5     var iframe = parent.document.getElementById("iframe");
      6     iframe.parentNode.removeChild(iframe);
      7     
      8     /* Throw an exception. */
      9     throw "crash";
     10 }
     11 
     12 setTimeout(crash, 0);
     13 </script>
     14