- From: Jan-Ivar Bruaroey <notifications@github.com>
- Date: Mon, 16 Jul 2018 19:55:44 -0700
- To: w3c/permissions <permissions@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 17 July 2018 02:56:06 UTC
> WebDriver sets permission to false. > Query API will "probably" return true since another getUserMedia call for that context will succeed. @youennf permission is not boolean, but rather: `"denied"`, `"granted"` or `"prompt"`. But good point. `"denied"` is supposed to block, so it would seem odd to ignore it. At the same time, [getUserMedia]() says to: *"[consider] all devices attached to a live MediaStreamTrack in the current browsing context to have permission status "granted"*, so it wins. Firefox gets around this by always `stop()`ing affected tracks in response a user revoking permission, but that's browser-specific of course. > I am not sure there is a precise use case except convenience. In that case, I vote we close this. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3c/permissions/issues/180#issuecomment-405443564
Received on Tuesday, 17 July 2018 02:56:06 UTC