Closed Bug 656974 Opened 13 years ago Closed 13 years ago

New alert window do not work if alert is present in onresize method

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
critical

Tracking

()

RESOLVED DUPLICATE of bug 626963

People

(Reporter: soporte, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows NT 5.1) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.65 Safari/534.24
Build Identifier: Mozilla/5.0 (Windows NT 5.1; rv:2.0.1) Gecko/20100101 Firefox/4.0.1

Code:
-------------------------------------------------
<html><head></head>
<body onresize=alert('This crash the new alert window.');>
</body>
</html>
-------------------------------------------------
If try to resize the window the new alert window crash.
Sometimes you can restore the window if press ESC.
If maximize & restore severals times will crash the tab...

Reproducible: Always

Steps to Reproduce:
1.Try the code...
2.Resize the window
3.Press Ctrl+W to close the tab (some times ESC will work)

Actual Results:  
Crash the window...

Expected Results:  
The software should show the new alert window..

about:buildconfig
Source

Built from http://hg.mozilla.org/releases/mozilla-2.0/rev/fca718600ca0
Build platform
target
i686-pc-mingw32
Build tools
Compiler 	Version 	Compiler flags
d;D:\mozilla-build\msys\mozilla-build\python25\python2.5.exe -O e;D:\mozilla-build\msys\builds\moz2_slave\rel-2.0-w32-bld\build\build\cl.py cl 	14.00.50727.762 	-TC -nologo -W3 -Gy -Fdgenerated.pdb -DNDEBUG -DTRIMMED -Zi -Zi -UDEBUG -DNDEBUG -GL -wd4624 -wd4952 -O1
d;D:\mozilla-build\msys\mozilla-build\python25\python2.5.exe -O e;D:\mozilla-build\msys\builds\moz2_slave\rel-2.0-w32-bld\build\build\cl.py cl 	14.00.50727.762 	-GR- -TP -nologo -Zc:wchar_t- -W3 -Gy -Fdgenerated.pdb -wd4800 -DNDEBUG -DTRIMMED -Zi -Zi -UDEBUG -DNDEBUG -GL -wd4624 -wd4952 -O1
Configure arguments

--enable-application=browser --enable-update-channel=release --enable-update-packaging --enable-jemalloc --enable-tests --enable-official-branding
Same error on:
Linux Ddxia 2.6.38-ARCH #1 SMP PREEMPT Fri Apr 22 17:48:36 UTC 2011 i686 AMD Phenom(tm) 8450 Triple-Core Processor AuthenticAMD GNU/Linux
Similar Bug 626963
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.