nsProgressDialog.js checks wrongly for preferred application

RESOLVED WORKSFORME

Status

RESOLVED WORKSFORME
14 years ago
2 years ago

People

(Reporter: Biesinger, Assigned: ravi.mozilla)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [good first bug], URL)

426             // Target is the "preferred" application.  Hide if empty.
427             if ( this.MIMEInfo && this.MIMEInfo.preferredApplicationHandler ) {
428                 var appName =
this.MIMEInfo.preferredApplicationHandler.leafName;
429                 if ( appName == null || appName.length == 0 ) {
430                     this.hide( "targetRow" );

But this is wrong. The target can either be the default application of the
preferred application. This code should check MIMEInfo.preferredAction to find
out what the app is being opened with.
Whiteboard: [good first bug]
To ravi, per his request
Assignee: file-handling → ravi.mozilla
QA Contact: ian → file-handling

Comment 2

9 years ago
This code was removed in bug 548189.
Status: NEW → RESOLVED
Last Resolved: 9 years ago
Resolution: --- → WORKSFORME
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.