- From: Jan-Ivar Bruaroey via GitHub <sysbot+gh@w3.org>
- Date: Thu, 16 Sep 2021 22:42:47 +0000
- To: public-webrtc-logs@w3.org
> If the tab is not visible, this PR produces no observable difference in behavior. > Did I get it right? Not quite. There is no visibility requirement (largely because that's hard to define), so this PR affects tabs regardless of their visibility. There's a similar-sounding [active document](https://whatpr.org/html/3851/browsers.html#active-document) test but that's on documents inside a tab (think BFCache), so it doesn't ensure the tab itself is visible. Alas, keyboard focus is the best we have until https://github.com/whatwg/html/issues/6211 is solved. > this would produce the difference of not invoking a prompt on the unfocused browser window+tab (until focused). Correct. > Are we sure this is really preferable? The problem isn't specific to unprompted access. Without this PR (or something like it), nothing prevents a browser from throwing up a prompt on behalf of a background tab, which is what happened in [crbug 920733](https://crbug.com/920733). > It makes more sense to me in the gUM case, because of the persisted permissions. Please ★ [crbug 1163972](https://crbug.com/1163972). -- GitHub Notification of comment by jan-ivar Please view or discuss this issue at https://github.com/w3c/mediacapture-screen-share/pull/192#issuecomment-921307482 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 16 September 2021 22:42:48 UTC