Re: Improve error message when browser denies access to getUserMedia()

On 25/07/2013 9:46 PM, Silvia Pfeiffer wrote:
> On Fri, Jul 26, 2013 at 9:55 AM, cowwoc <cowwoc@bbs.darktech.org> wrote:
>> On 25/07/2013 7:43 PM, Rob Manson wrote:
>>> +1 to that (as long as DEVICE_NOT_AVAILABLE includes both system errors
>>> and truly "not available" so it doesn't provide a fingerprinting issue).
>>>
>>> Also, thanks for pointing out where the PERMISSION_DENIED came from Silvia
>>> 8) I was looking in the wrong spec (must have been tired).
>>>
>>> So in this case the bug should be filed with Chrome and not Firefox. From
>>> my tests the latest version of Chrome doesn't return PERMISSION_DENIED.
>>
>>      We can't file a bug with Chrome until the spec adds the new enum. So
>> assuming there is consensus, we'd still have to wait for this to make it
>> into the editor's draft.
> FYI: PERMISSION_DENIED is in the spec:
> http://dev.w3.org/2011/webrtc/editor/getusermedia.html#idl-def-NavigatorUserMediaError
>
Sylvia,

     I meant that we cannot file an issue asking Chrome and Firefox to 
return DEVICE_NOT_AVAILABLE until the spec is amended.

Gili

Received on Friday, 26 July 2013 03:13:58 UTC