Javascript "alert"s are spawned in a manner that the user has no way of stopping it. Malicious and faulty websites thus can stick the user in an "alert loop" which can only be broken by killing the application with SIGKILL or the like.
*** This bug has been marked as a duplicate of bug 164853 ***