[mediacapture-main] enumerateDevices is exposing devices labels for origins that are granted access once (#563)

youennf has just created a new issue for https://github.com/w3c/mediacapture-main:

== enumerateDevices is exposing devices labels for origins that are granted access once ==
An origin may have had access once to getUserMedia.
In that case, the web page might have stored the list of available devices at that time including labels.
As per https://github.com/w3c/mediacapture-main/issues/559#issuecomment-456990813, all devices will then be exposed to that origin including labels.

This seems to include new devices for which labels were not exposed to the web page initially.
This is a leak of new information that is not really identified in the spec.

Please view or discuss this issue at https://github.com/w3c/mediacapture-main/issues/563 using your GitHub account

Received on Thursday, 24 January 2019 05:15:57 UTC