[Bug 22251] Define better error when no video or audio source is available

https://www.w3.org/Bugs/Public/show_bug.cgi?id=22251

--- Comment #10 from Harald Alvestrand <harald@alvestrand.no> ---
Now that we don't inherit from DOMError any more, since that's going away, but
we still have an error object with a name and a message:

Suggested change of names:

NO_DEVICES_FOUND -> NotFoundError (existing DOMError name)
HARDWARE_UNAVAILABLE -> AbortError (existing DOMError name)
                     -> SourceUnavailable (NEW name)


I'll create a new tracking error for the whole DOMError -> JS Error issue.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

Received on Friday, 21 March 2014 15:00:21 UTC