Closed Bug 412907 Opened 12 years ago Closed 12 years ago

Failure to find the system default application

Categories

(Core Graveyard :: File Handling, defect, major)

x86
macOS
defect
Not set
major

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: florian, Assigned: florian)

References

Details

Attachments

(1 file)

Attached patch patch v1Splinter Review
STR:
Open the Error Console and execute:
Components.classes["@mozilla.org/mime;1"].getService(Components.interfaces.nsIMIMEService).getFromTypeAndExtension("application/pdf", null).hasDefaultHandler

Actual result: false

Expected result: true (Preview is the system default application for PDF files)

This bug has a visible impact at least in the Applications prefpane.

Notes:
 The nsIInternetConfigService interface should probably be changed to use something better than "string".
 The return value of this method is always ignored :-(.
Flags: blocking1.9?
Attachment #297694 - Flags: superreview?(cbiesinger)
Attachment #297694 - Flags: review?(cbiesinger)
Attachment #297694 - Flags: superreview?(cbiesinger)
Attachment #297694 - Flags: superreview+
Attachment #297694 - Flags: review?(cbiesinger)
Attachment #297694 - Flags: review+
Attachment #297694 - Flags: approval1.9?
Attachment #297694 - Flags: approval1.9? → approval1.9+
Checking in uriloader/exthandler/mac/nsInternetConfigService.cpp;
/cvsroot/mozilla/uriloader/exthandler/mac/nsInternetConfigService.cpp,v  <--  nsInternetConfigService.cpp
new revision: 1.43; previous revision: 1.42
done
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Depends on: 414201
Flags: blocking1.9?
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.