Closed Bug 537195 Opened 15 years ago Closed 15 years ago

nsISound.play without esound installed should throw NS_ERROR_NOT_AVAILABLE

Categories

(Core :: Widget, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: davemgarrett, Assigned: wesongathedeveloper)

Details

Attachments

(1 file)

Fresh install of Kubuntu 9.10 with Firefox 3.5 and attempt an nsISound.play and it'll throw NS_ERROR_FAILURE. (for example, using the testcase in bug 536996) This is because esound isn't installed by default. Install it and it works as expected. Thus, shouldn't it throw NS_ERROR_NOT_AVAILABLE in this instance instead?
Attached patch PatchSplinter Review
Assignee: nobody → wesongathedeveloper
Status: NEW → ASSIGNED
Attachment #419644 - Flags: review?(roc)
Keywords: checkin-needed
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: