Re: [mediacapture-main] Clarify that enumerateDevices must not expose devices that a given context cannot use through getUserMedia (#549)

I think this is a good idea. It'd mean *enumerateDevices* would resolve empty from cross-origin iframes unless either `allow="camera"`, `allow="microphone"`, `allow="speaker"`, or any combination of those were specified, and even then you'd only get the relevant info.

> From my reading of the spec, this is the required behavior.

It seems to hinge on the definition of "available". I think this deserves more specific mention. I'll work on a PR.

-- 
GitHub Notification of comment by jan-ivar
Please view or discuss this issue at https://github.com/w3c/mediacapture-main/issues/549#issuecomment-488073660 using your GitHub account

Received on Tuesday, 30 April 2019 18:58:30 UTC