Closed Bug 477043 Opened 17 years ago Closed 17 years ago

isRegisteredProtocolHandler fails in some cases on Mac

Categories

(Mozilla Labs :: Prism, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: matthew.gertner, Assigned: matthew.gertner)

Details

Attachments

(1 file)

Apparently some apps don't play nicely and an error is returned by nsIShellService.getDefaultApplicationForURIScheme(). In this case nsIPlatformGlue.isRegisteredProtocolHandler() should return false, but right now it throws an exception.
Attachment #360700 - Attachment is patch: true
Attachment #360700 - Attachment mime type: application/octet-stream → text/plain
Attachment #360700 - Flags: review?(mark.finkle) → review+
Sending runtime/components/src/nsPlatformGlue.js Transmitting file data . Committed revision 22048.
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: