diff --git a/index.html b/index.html index 62ee6a6..8804de9 100644 --- a/index.html +++ b/index.html @@ -147,6 +147,7 @@
partial interface MediaDevices { + [Exposed=(Window), IsolatedContext] Promise<sequence<MediaStream>> getAllScreensMedia(); };@@ -239,7 +240,7 @@
- [Exposed=Window] + [Exposed=Window, IsolatedContext] interface ScreenCaptureMediaStreamTrack : MediaStreamTrack { ScreenDetailed screenDetailed(); }; @@ -255,6 +256,53 @@ScreenCaptureMediaStreamTrack
+ ++ + +Permissions Integration
+ + +Capture all screens is a [=powerful feature=] which is + identified by the [=powerful feature/name=] "all-screens-capture", requiring + [=express permission=] to be used.
+ + +As required for integration with the [[[Permissions]]] specification, + this specification defines the following:
+ + ++
+- [=powerful feature/permission state constraints=]
+ + +- + Valid values for this descriptor's permission state are + {{PermissionState/"granted"}} and {{PermissionState/"denied"}}. The user + agent sets this descriptor's permission state to + {{PermissionState/"granted"}} based on an administror defined allowlist. +
++ +Permissions Policy Integration
+ + +This specification uses a [=policy-controlled feature=] identified by + the string "all-screens-capture". Its + [=policy-controlled feature/default allowlist=] is
+ + +"self"
.++A [=document=]'s [=Document/permissions policy=] determines whether + any content in that document is allowed to use + {{MediaDevices/getAllScreensMedia}}. If disabled in any document, no content + in the document will be [=allowed to use=] + {{MediaDevices/getAllScreensMedia}}. In addition, only origins allowlisted by + an administator or device owner are [=allowed to use=] {{MediaDevices/getAllScreensMedia}}. +
+Privacy Indicator Requirements