Closed Bug 97902 Opened 23 years ago Closed 23 years ago

Crash on dropping files with certain extensions

Categories

(Core :: DOM: UI Events & Focus Handling, defect)

PowerPC
macOS
defect
Not set
critical

Tracking

()

VERIFIED WORKSFORME

People

(Reporter: nick, Assigned: joki)

Details

Build ID: 2001080316

When I drop files with certain extensions on a Mozilla window, the browser
crashes. These extensions include, but are not limited to:

.h, .c, .cpp, .pl, .bat, .java, .pm

But it works with:

.m, .cc, .php, .js, .html, .shtml, etc.

Wacky extentions that don't exist (e.g. "file.whatever") do not crash the
browser. Spaces in the file name and additional periods don't seem to phase it
either.

This is 100% reproducible for me.

Expected Result: If a file is text but Mozilla doesn't know to do anything
special with it (i.e. it's not an .htm, .html, .shtml, .php, etc. file), the
text of the file should be displayed. This is the case now with files that have
extensions which aren't rendered and don't crash the browser.
I tried this on the latest nightly build (2001083105) and found that the browser
no longer crashes on these files. I suppose I should havea tried that first. :*)

Anyway, is this an OS X-specific issue? If not, is it still affecting other
platforms?
i couldn't find anything in a query.  usually if it's fixed on one platform, it
tends to be fixed on all platforms, but there are exceptions.  i suppose we'll
find out if a bunch of reports like this show up :)

Anyway marking worksforme.
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → WORKSFORME
v
Status: RESOLVED → VERIFIED
Component: Event Handling → User events and focus handling
You need to log in before you can comment on or make changes to this bug.