How to crash IETester

This simple page shows one common situation that can crash IETester. Simple inline JavaScript actions are involved.

Note 1: When using IETester 0.2, the crash will happen only when using the emulation of IE 7 (don't confuse with the "Default IE"). In previous versions, any emulation would crash IETester.

Note 2: When using IETester 0.2, passing the mouse over the bad code will display the IE's "script error" dialog, only when using "IE 8" and "Default IE" emulations. Using "IE 5.5" and "IE 6" the error will not be displayed and using "IE 7" the program will crash.

Pass the mouse over the text bellow. It'll crash IETester due to an error in the written code.

Bad Code = Crash

This is the code of the above test:

<div onmouseover="test2.style.visibility = 'hidden'" onmouseout="test2.style.visibility = 'visible'">
  <a id="test1" href="IETesterCrasher.html">Bad Code = Crash</a>
</div>

Note that the ID "teste2" doesn't exist. A correct code should hide the text "on mouse over".

One of the working codes could be:

<div onmouseover="test.style.visibility = 'hidden'" onmouseout="test.style.visibility = 'visible'">
  <a id="test" href="IETesterCrasher.html">Correct Code</a>
</div>
Correct Code

Please, look at this page's source-code for further information.