Closed Bug 659275 Opened 13 years ago Closed 13 years ago

Unexpected behavior when you open "alert"in onresize event of the object "window"

Categories

(Firefox :: General, defect)

x86
Windows 7
defect
Not set
major

Tracking

()

RESOLVED DUPLICATE of bug 626963

People

(Reporter: luxifago, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0.1) Gecko/20100101 Firefox/4.0.1
Build Identifier: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0.1) Gecko/20100101 Firefox/4.0.1

El ejecutar el siguiente codigo, se podrá visualizar como el alert se abre de manera inesperada en toda la ventana de Firefox.

window.onresize = function (){
alert("SALXO");
}

Esto bloquea todas las pestañas del navegador.


Reproducible: Always

Steps to Reproduce:
1. Run the following code in javascript console: window.onresize = function () {alert ("SALXO);}

Actual Results:  
An "overlay" is opened around the browser environment and blocks navigation

Expected Results:  
You should only open an alert
Stept 1 : 1. Run the following code in javascript console: window.onresize = function () {alert ("SALXO);}

Stept 2: Resize window of Firefox
Summary: Escuchar Unexpected behavior when you open "alert"in onresize event of the object "window" → Unexpected behavior when you open "alert"in onresize event of the object "window"
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.