W3C home > Mailing lists > Public > public-media-capture@w3.org > November 2012

RE: How to check if permission denied?

From: Stefan Håkansson LK <stefan.lk.hakansson@ericsson.com>
Date: Tue, 27 Nov 2012 17:49:15 +0000
To: Martin Thomson <martin.thomson@gmail.com>, jonathan chetwynd <jay@peepo.com>
CC: "public-media-capture@w3.org" <public-media-capture@w3.org>
Message-ID: <1447FA0C20ED5147A1AA0EF02890A64B043773@ESESSMB209.ericsson.se>


>getUserMedia provides an error callback.  There is, however, no error for "no device".  That needs to be fixed.

On surface it seems that this definitely needs fixing. But the original reason for no specific error code was AFAIK to avoid finger printing - the app should not be able to tell if there are devices available or not without the user consenting to this (and, sort of similar, the user should be able to fake a camera even if not having one by selecting a video file as source).

I don't know if finger printing is a valid reason any more for not having more specific error codes.

Received on Tuesday, 27 November 2012 17:49:44 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:26:12 UTC