Closed Bug 217405 Opened 21 years ago Closed 21 years ago

New helper app dialog causes JS exception for unknown content types

Categories

(Toolkit :: Downloads API, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: mscott, Assigned: bugs)

Details

Attachments

(1 file)

If the OS doesn't know about the content type, the helper app dialog chokes on a
JS error when trying to get the primary extension for the mime type:

nsIMIMEInfo.primaryExtension NS_ERROR_NOT_INIALIZED in nsHelperAppDlg.js

This causes the dialog to not render correctly and to not work correctly either.

Patch coming up.

Patch coming up.
Summary: New helper app dialog barfs for unknown content types → New helper app dialog causes JS exception for unknown content types
Attached patch the fixSplinter Review
fixed. r=ben over irc

ignore the dump statements...those were part of an unrelated change and are not
getting checked in.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: