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

@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