diff --git a/index.html b/index.html index fe0cf0b..7d810a8 100644 --- a/index.html +++ b/index.html @@ -423,6 +423,24 @@
If the current settings object's's [=relevant global object=]'s [=associated Document=]'s + [=top-level browsing context=] is losing focus, + queue a global task on the user interaction task source + given current settings object's [=relevant global object=] to run the following step: +
Set controller.{{CaptureController/[[FocusChangeDisabled]]}} to true
.
+ These steps ensure {{CaptureController}} will not override explicit focus actions made by the user,
+ typically if a user decides to switch to another surface shortly after starting capture.
+ This algorithm describes what to do for surface pickers implemented by the user agent but the same
+ requirement applies to surface pickers implemented outside of the user agent,
+ where the loss of capturing document focus is not necessarily the signal triggering setting
+ {{CaptureController/[[FocusChangeDisabled]]}} totrue
.
+
Permission Failure: [=Reject=] p with a new {{DOMException}} @@ -435,23 +453,6 @@
Return p.
- When the top-level document loses focus, run the following steps on all - {{CaptureController}} objects in that document and in documents of its nested - [=browsing contexts=]: -
-
- If {{CaptureController/[[Source]]}} is undefined
, abort these steps.
-
- Set {{CaptureController/[[FocusChangeDisabled]]}} to true
.
-
The user agent MUST NOT capture content that's behind a partially transparent captured display surface.