Closed Bug 196678 Opened 22 years ago Closed 22 years ago

The main browser window can be closed with no user notification.

Categories

(SeaMonkey :: General, enhancement)

x86
Linux
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 184618

People

(Reporter: rob, Assigned: asa)

References

()

Details

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3b) Gecko/20030211 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3b) Gecko/20030211 When viewing the page http://web01.i-iml.com/maidinmanhattan?ito=3225&itc0 (By clicking on a link) the browser crashes immediately. I've also saved the page from the link and even loading the file causes the crash. Here's the page as is... <html> <head> <title>Teletext Holidays - Maid in Manhattan </title> <script language="JavaScript"> <!-- function hiddenpopup() { window.open('index.jsp','maidinmanhattan','width=700,height=647,top=20,left=150,scrollbars=1'); page = window.self; page.opener = window.self; page.close(); } //--> </script> </head> <body onLoad="hiddenpopup();"> </body> </html> Reproducible: Always Steps to Reproduce: 1. Go to page (or load file) Actual Results: Browser crashes Expected Results: Page should be displayed The above link is a competition and so may be time sensitive and could disappear after a while, so it may be better to use the given source code.
WFM... Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3b) Gecko/20030307
Disable 'popup blocking' pref as the site opens a popup and closes the main window, you'll never see the new window created if you block popups.
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → INVALID
I see now that indeed the browser isn't crashing - but should a main window be able to close itself, especially given the appearance of crashing? Not only that but I've disabled in the preferences everything scripts are normally allowed to do - there's no preference for 'stop scripts closing main window' - but all the others are disabled. I still consider this a flaw ... 1. It gives the appearance of crashing. (Since I've disabled the popup beep) 2. I've disabled scripts from doing stuff and this is *still* allowed. 3. It's counter-intuitive that I have to re-enable popups to stop me from losing the browser window, unless there are multiple tabs open (only tested that now). Because of this I guess it should be reopened as an enhancement - it needs some kind of notification to the user or the closing of the main window should NOT happen. (So I'm reopening it)
Severity: critical → enhancement
Status: RESOLVED → UNCONFIRMED
Resolution: INVALID → ---
Summary: The browser crashes when viewing given page. → The main browser window can be closed with no user notification.
This is a real bug, but it is a dup. *** This bug has been marked as a duplicate of 184618 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago22 years ago
Resolution: --- → DUPLICATE
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.