Closed Bug 266211 Opened 20 years ago Closed 20 years ago

crash in javascript window.open()

Categories

(Firefox :: General, defect)

x86
FreeBSD
defect
Not set
critical

Tracking

()

RESOLVED DUPLICATE of bug 255372

People

(Reporter: gnb, Assigned: bugzilla)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (X11; U; FreeBSD i386; rv:1.7.3) Gecko/20041020 Firefox/0.10.1
Build Identifier: Mozilla/5.0 (X11; U; FreeBSD i386; rv:1.7.3) Gecko/20041020 Firefox/0.10.1

javascript window.open() whith non-empty last argument crashes the browser:

firefox-bin in free(): warning: chunk is already free
firefox-bin in free(): warning: chunk is already free
pure virtual method called
Abort trap (core dumped)


Reproducible: Always
Steps to Reproduce:
Browse the attached HTML
Actual Results:  
crash
Works OK if the third argument to window.open() is not provided.

Distilled from the "desktop Scorebox" on www.cricinfo.org.
Interesting wrinkle:  It only crashes if you only have a single top-level window
open and javascript is trying to open a second.  If you have 2 or more windows
open, then javascript can open an extra one no problem.
Bug 255372 has a fix coming soon.

*** This bug has been marked as a duplicate of 255372 ***

*** This bug has been marked as a duplicate of 255372 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
If this is not a dupe, please reopen.
Likewise, having another tab open when you click the link will work.  Openining
another tab, closing it then clicking will crash.

Opening another top-level window, closing it then clicking on the "crash" link
will work.

So to repeat the bug, you probably need to "copy link location" for the
attachment above, close Firefox, open a new one, middle-click to go to the URL
then click the Crash button.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: