mediacapture-screen-share
mediacapture-screen-share copied to clipboard
Update algorithms around setFocusBehavior to take into account OS level surface pickers
In macOS, the window selection prompt might naturally unfocus the capturing web page. As currently specified, it would always set [[[FocusChangeDisabled]]] to true, neutering setFocusBehavior.
The spec should give some leeway in that area so that [[[FocusChangeDisabled]]] is set to true when page is no longer focused for actions outside the device selection or something like this.
Would you send a PR?
Sure, will do