W3C home > Mailing lists > Public > public-media-capture-logs@w3.org > May 2016

Re: [mediacapture-main] MUST clear requirement for deviceId

From: jan-ivar via GitHub <sysbot+gh@w3.org>
Date: Mon, 16 May 2016 16:31:46 +0000
To: public-media-capture-logs@w3.org
Message-ID: <issue_comment.created-219473437-1463416305-sysbot+gh@w3.org>
@ShijunS The user scenario (of not having permission persisted) is 
only marginal *in Chrome*, because Chrome implicitly persists 
permission. In Firefox and Edge, this user scenario is the *most 
common*.

As @stefhak 
[mentions](https://github.com/w3c/mediacapture-main/issues/359#issuecomment-219235000)
 the spec is clear that deviceIds must be persisted to the origin 
after the first gUM *grant* now or in the past, not just the first 
*persistent grant*. Without this, deviceIds would be quite useless 
except in Chrome.

In other words, if a Firefox or Edge user grants their camera to site 
foo.com *just once* (even if they don't choose "Always Share" in 
Firefox) then foo.com should see persistent deviceIds from then on and
 ever (until the user clears cookies or hits *forget site* or 
something like that), because those users may *never* grant permission
 permanently, and still expect sites to remember their preferred 
camera from last time.

Looks like Edge has a bug here. Chrome matches Firefox here and is 
compliant.

This is a side-track though. Lets get back to *pre-grant* deviceIds 
and their lifespan.

-- 
GitHub Notification of comment by jan-ivar
Please view or discuss this issue at 
https://github.com/w3c/mediacapture-main/issues/359#issuecomment-219473437
 using your GitHub account
Received on Monday, 16 May 2016 16:31:49 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:27:29 UTC