Closed Bug 5443 Opened 27 years ago Closed 27 years ago

[BLOCK] Window.open() method Crashes Viewer.

Categories

(Core :: DOM: Core & HTML, defect, P1)

x86
Windows 95
defect

Tracking

()

VERIFIED WORKSFORME

People

(Reporter: desale, Assigned: vidur)

Details

Window.open() method Crashes Viewer as well as apprunner. There are already somebugs about it. Bug 1098 is similar to this but for Windows NT platform and already marked as duplicate of bug 1252. Actually bug 1252 is little different than this bug, and bug 1252 is already marked as resolved and fixed. I guess it would be better to report seperate bug this problem since platform is also different and bug is also little different. Product: Seamonkey [Apprunner as well as viewer] Build: 04-22-17. OS: Win-95 as well as MacOS. Steps to Reproduce: 1] Please copy the code I'm providing. 2] Save it as HTML file on your local machine. 3] Open this HTML file in viewer as well as apprunner. 4] There you will find on button called "Open New Window". click this button. Expected Results : Application should open new window. Actual Results: A] Viewer: Application crashes immediately. B] Apprunner: Application opens new window, but not very clear and does not point to, where it is supposed to. After closing that new window, if we again click that button to open one more window, then application crashes. Code: <HTML> <HEAD><TITLE>Window.Open()</TITLE></HEAD> <BODY> <form> <H4>This Page will test whether window.open() method works or not.<Br> After clicking the button, browser should open another window<br> which is pointed to http://www.yahoo.com<H4> <input type="button" value="Open New Window" onClick="window.open('http://www.yahoo.com', 'testwindow')"> </form> </BODY> </HTML>
Priority: P3 → P1
Setting priority to P1, since need this in test automation.
Summary: Window.open() method Crashes Viewer as well as apprunner. → [BLOCK] Window.open() method Crashes Viewer.
This Bug applies to viewer only, since for apprunner there is lready one bug 4220. This crash does not happen on Linux.
Status: NEW → RESOLVED
Closed: 27 years ago
Resolution: --- → WORKSFORME
Works for me in current build. This was probably fixed by a checkin by Kipp recently, though I believe Tom needs to look at the fix in the nsGlobalWindow::Open() code.
Status: RESOLVED → VERIFIED
Its working fine now.
You need to log in before you can comment on or make changes to this bug.