Closed
Bug 297321
Opened 20 years ago
Closed 20 years ago
crash when closing tab which contains self.close()
Categories
(Firefox :: Tabbed Browser, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 265962
People
(Reporter: marcel.heemskerk, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4 Please go to http://www.jaggle.nl/log/item.php?id=12738 And click on "Foto 1" The page which opens is copy'pasted below. It seems there is a javascript which tries to close the page when you enter [esc]. Result in Firefox is that when you close the tab containing "Foto 1", Firefox crashes and closes all open tabs. Link contains html, which is shown below. Make a html which has a link to this <html> <head> <title>Jaggle</title> <!-- http://www.jaggle.nl/images/20050609_perry2.jpg --> </head> <body bgcolor="#ffffff" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onBlur="self.close();" onLoad="self.focus();"> <img src="http://www.jaggle.nl/images/20050609_perry2.jpg" width="480" height="600" border="0"> </body> <script language="javaScript"> document.onkeypress = function esc(e) { if(typeof(e) == "undefined") { e=event; } if (e.keyCode == 27) { self.close(); } } </script> </html> Reproducible: Always Steps to Reproduce: 1. go to http://www.jaggle.nl/log/item.php?id=12738 2. click on "Foto 1" 3. close the newly opened tab 4. Firefox crashes Actual Results: Firefox crash.. Windows: "Do you want to send in a report?" Expected Results: Hmm.. just close the tab? :-)
Comment 1•20 years ago
|
||
WFM, using: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050609 Firefox/1.0+
Comment 2•20 years ago
|
||
also WFM Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b2) Gecko/20050610 Firefox/1.0+
Version: unspecified → 1.0 Branch
Comment 3•20 years ago
|
||
*** This bug has been marked as a duplicate of 265962 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•