Re: [mediacapture-main] New permission definitions are wrong.

@alvestrand, isn't ***request a permission*** an algorithm for 
elevating (persistent) permissions, that resolves with either 
`'prompt'`, `'granted'` or `'denied'`?

Our `getUserMedia` algorithm seems to mistake this algorithm for a 
yes/no access request algorithm with only two possible outcomes: 
`'granted'` or `'denied'`. Square peg, round hole.

How should `getUserMedia` treat a `'prompt'` result? `'prompt'` after 
all, refers to what users will get when they *later request access*. 
In other words, this can't be the *request access* algorithm, or it's 
recursive.

Separately, the language about "live" tracks implying 'granted' is 
busted. A) that's not how Firefox ever worked (you get a prompt 
regardless), and B) the language implies site B gets access if site A 
has a live stream, which I don't think anyone wants.

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

Received on Tuesday, 26 April 2016 18:44:32 UTC