- From: Jan-Ivar Bruaroey <notifications@github.com>
- Date: Thu, 11 Oct 2018 19:19:08 -0700
- To: w3c/permissions <permissions@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 12 October 2018 02:19:29 UTC
jan-ivar commented on this pull request.
> + <section>
+ <h3 id="screen-capture">
+ Screen Capture
+ </h3>
+ <p>
+ The <dfn for="PermissionName" enum-value>"display"</dfn>
+ permission is the permission associated with the usage of
+ [[screen-capture]].
+ </p>
+ <dl>
+ <dt>
+ <a>permission state constraints</a>
+ </dt>
+ <dd>
+ Valid values for this descriptor's <a>permission state</a> are
+ {{"prompt"}} and {{"denied"}}. The user agent MUST NOT ever set this
The [spec prose](https://w3c.github.io/mediacapture-screen-share/#dom-navigator-getdisplaymedia) is already pretty clear, saying: *"The user agent MUST let the end-user choose which display surface to share out of all available choices every time"*.
Adding this language here is necessary to for that spec to call this spec's [prompt the user to choose ](https://w3c.github.io/permissions/#prompt-the-user-to-choose) algorithm, since that algorithm is not guaranteed to prompt the user otherwise.
--
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/pull/184#discussion_r224654758
Received on Friday, 12 October 2018 02:19:29 UTC