- From: youennf via GitHub <sysbot+gh@w3.org>
- Date: Mon, 07 Nov 2022 13:37:17 +0000
- To: public-webrtc-logs@w3.org
> * Throw if (3). That seems consistent with throwing in case source is stopped. > * Make (4) equivalent to (1). This makes sense, I assumed until now this was already the case. > Assuming we do agree - what's the most elegant way of getting this into the spec? Ideally, we'd not need to replace all of gDM's "return a promise rejected with X" steps with "if there is a controller, set some internal slot to a value, and regardless of the presence of a controller, return a promise rejected with X." One possibility is to replace the [IsBound] by [GetDisplayPromise]. Then in setFocusBehavior, check whether [GetDisplayPromise] is a rejected promise. If so, throw. An alternative is to add a line like: - Upon rejection of p, set controller [FocusDecisionFinalized] (or another dedicated slot) to true. -- GitHub Notification of comment by youennf Please view or discuss this issue at https://github.com/w3c/mediacapture-screen-share/issues/252#issuecomment-1305629337 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 7 November 2022 13:37:18 UTC