This test uses javascript.
It opens a new window. Sets a timer. Then close the new window when the timer expires.