Closed
Bug 309916
Opened 19 years ago
Closed 19 years ago
Editing mime-type handlers fails with a missing handler
Categories
(Firefox :: Settings UI, defect)
Tracking
()
RESOLVED
FIXED
Firefox1.5
People
(Reporter: philor, Assigned: philor)
References
Details
(Keywords: fixed1.8)
Attachments
(1 file, 1 obsolete file)
|
1.17 KB,
patch
|
mconnor
:
review+
mscott
:
approval1.8b5+
|
Details | Diff | Splinter Review |
If you have a mime-type handler that no longer exists, the View & Edit Actions... dialog throws when it tries to get the display name, and doesn't show any actions at all. STR: 1. Click http://philringnalda.com/mtests/handlergone/hard.cheese 2. In the dialog, select Open with, Browse to a program you don't mind moving, and check Do this automatically... 3. Change either the filename, or any part of the path, for the program you used in step 2. 4. Open Tools/Options/Downloads, and click View & Edit Actions... 5. The dialog is blank, and the jsconsole says "Error: uncaught exception: [Exception... "Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsILocalFileWin.getVersionInfoField]" nsresult: "0x80520012 (NS_ERROR_FILE_NOT_FOUND)" location: "JS frame :: chrome://browser/content/preferences/downloadactions.js :: anonymous :: line 251" data: no]" After customHandler.initWithPath(externalAppPath); we need to be sure customHandler exists.
| Assignee | ||
Updated•19 years ago
|
Flags: blocking1.8b5?
| Assignee | ||
Updated•19 years ago
|
Attachment #197297 -
Attachment is obsolete: true
Attachment #197297 -
Flags: review?(mconnor)
| Assignee | ||
Comment 2•19 years ago
|
||
gavin sez: don't put it in the try{} if you don't need it in the try{}.
Attachment #197298 -
Flags: review?(mconnor)
| Assignee | ||
Updated•19 years ago
|
Status: NEW → ASSIGNED
Target Milestone: --- → Firefox1.5
Updated•19 years ago
|
Attachment #197298 -
Flags: review?(mconnor) → review+
Updated•19 years ago
|
Whiteboard: [checkin needed]
Comment 3•19 years ago
|
||
Trunk: mozilla/browser/components/preferences/downloadactions.js; new revision: 1.7;
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Whiteboard: [checkin needed]
| Assignee | ||
Updated•19 years ago
|
Attachment #197298 -
Flags: approval1.8b5?
Comment 5•19 years ago
|
||
Comment on attachment 197298 [details] [diff] [review] patch v.2 approving this very low risk change.
Attachment #197298 -
Flags: approval1.8b5? → approval1.8b5+
Updated•19 years ago
|
Flags: blocking1.8b5? → blocking1.8b5+
Updated•19 years ago
|
Whiteboard: [checkin needed][a+]
Comment 6•19 years ago
|
||
1.8 branch: Checking in downloadactions.js; /cvsroot/mozilla/browser/components/preferences/downloadactions.js,v <-- downloadactions.js new revision: 1.5.2.1; previous revision: 1.5 done
Keywords: fixed1.8
Whiteboard: [checkin needed][a+]
You need to log in
before you can comment on or make changes to this bug.
Description
•