Closed Bug 162144 Opened 22 years ago Closed 20 years ago

nsIFilePicker.show can throw exceptions

Categories

(Other Applications Graveyard :: Venkman JS Debugger, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: timeless, Assigned: rginda)

References

()

Details

Attachments

(1 file)

please change your show() callers to handle the possibilty that show() throws an
exception (important) and please don't access the file field in the case that
the user clicks cancel (trivial).

I'd write a patch but i can't think of how to write it to match the style of
your code.
Comment on attachment 145784 [details] [diff] [review]
Simple patch to catch exceptions

r=rginda
Attachment #145784 - Flags: review+
Checked in.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Product: Core → Other Applications
Product: Other Applications → Other Applications Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: