Re: [mediacapture-screen-share] Wait for fully-active and has focus. (#192)

This PR restores spec-mandated behavior that was lost by mistake, making [crbug 920733](https://bugs.chromium.org/p/chromium/issues/detail?id=920733) a spec violation again, like it was [at the time](https://www.w3.org/TR/2019/WD-screen-capture-20191119/#dom-mediadevices-getdisplaymedia). There's no record of this regression being intentional, so fixing it seems editorial. I suggest we merge this and discuss the problem you raised in https://github.com/w3c/mediacapture-main/issues/752#issuecomment-921352150 since its not unique to gDM.

> > nothing prevents a browser from throwing up a prompt on behalf of a background tab
>
> If the prompt is non-intrusive - does not steal focus and does not peek out of the borders of the window - then it is a non-issue.

This is exactly what [crbug 920733](https://bugs.chromium.org/p/chromium/issues/detail?id=920733) did, and it was bad, because users could mistake the request as coming from the current tab, not a background tab.

> a non-intrusive prompt 

Feel free to open a new issue, but note there's no precedent for specs mandating intrusiveness of prompts, and such a spec would likely be anything but short.

-- 
GitHub Notification of comment by jan-ivar
Please view or discuss this issue at https://github.com/w3c/mediacapture-screen-share/pull/192#issuecomment-922032998 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 17 September 2021 19:32:46 UTC