- From: Elad Alon via GitHub <sysbot+gh@w3.org>
- Date: Fri, 25 Apr 2025 12:58:47 +0000
- To: public-webrtc-logs@w3.org
eladalon1983 has just created a new issue for https://github.com/w3c/mediacapture-screen-share: == Editorial: Associate capture-sessions with top-level browsing context == When authoring other specs, it is awkward to express the concept of "the relevant document, or any of its parent/child/sibling documents, owns an active screen-capture session." To remedy this, I propose the following changes to the Screen Capture spec: 1. Extend the definition of [Browsing Context](https://html.spec.whatwg.org/multipage/document-sequences.html#browsing-context) to include a an internal slot called `[[ScreenCaptureSessions]]`. 2. Specify that given a [CaptureController](https://www.w3.org/TR/screen-capture/#capturecontroller) called `controller`, whenever `controller`.[[IsBound]](https://www.w3.org/TR/screen-capture/#dfn-isbound) is set to `true`, then `controller` will be added into the [top-level browsing context's](https://html.spec.whatwg.org/multipage/document-sequences.html#top-level-browsing-context) `[[ScreenCaptureSessions]]`. 5. Likewise, specify that whenever such a `controller`'s [[[Source]]](https://www.w3.org/TR/screen-capture/#dfn-source) [stops](https://www.w3.org/TR/mediacapture-streams/#source-stopped), that `controller` is removed from `[[ScreenCaptureSessions]]`. Wdyt, @jan-ivar, @youennf? Please view or discuss this issue at https://github.com/w3c/mediacapture-screen-share/issues/319 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 25 April 2025 12:58:48 UTC