Query (not a bug): Device selection - should permissions matter?

When thinking about how to make a more formal permission handling for
mediacapture-main, I wonder about how permission status should influence
selection.

Let's think about an UA with 3 attached cameras:

A has a "granted" permission
B has no permission, so will be prompted for if selected
C has permission "denied".

If I select with constraints that allow either to be selected, what
should happen?

Three possibilities I see:

1 - Spec says "disregard C, pick between A and B at UA's choice" (prompt
if you feel like it)
2 - Spec says "choose B; if that's unsuitable prompt for A" (prefer
permitted)
3 - Spec says "this is not a spec matter, UA will do what it wants" (no
guidance)

All of these can be written as normative requirements or "implementation
suggestions".

At the moment, the spec is roughly "1" (step 3 can be seen as skipping
"denied" devices).

What do people think?

Received on Tuesday, 16 February 2016 12:53:56 UTC