You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Permissions integration says: "If the descriptor does not have a deviceId, its semantic is that it queries for access to all devices of that class." — Since no-one's implemented deviceId, this is the norm for sites today:
But this site is trying to ask "can I call getUserMedia unprompted?", not "do I categorically have access to ALL cameras?"
Even after the site has a camera, Firefox cannot answer yes here, because it grants per-device permissions by default, not to ALL.
It would be more web compatible to say: "If the descriptor does not have a deviceId, its semantic is that it queries for access to the default device of that class."
Sites that truly wish to check the permission state of multiple cameras are able to do so.
The text was updated successfully, but these errors were encountered:
jan-ivar
changed the title
First web compat issue with permissions.query() in per-camera/mic permission models
Web compat issue with permissions.query() in per-camera/mic permission models
Feb 3, 2023
Permissions integration says: "If the descriptor does not have a deviceId, its semantic is that it queries for access to all devices of that class." — Since no-one's implemented
deviceId
, this is the norm for sites today:But this site is trying to ask "can I call getUserMedia unprompted?", not "do I categorically have access to ALL cameras?"
Even after the site has a camera, Firefox cannot answer yes here, because it grants per-device permissions by default, not to ALL.
It would be more web compatible to say: "If the descriptor does not have a deviceId, its semantic is that it queries for access to the default device of that class."
Sites that truly wish to check the permission state of multiple cameras are able to do so.
The text was updated successfully, but these errors were encountered: