This is a request for WebKit's position on introducing a new API called Conditional Focus. The API integrate with screen-capture (getDisplayMedia). It allows a capturing application to decide whether, once a display surface has been captured, that surface should be focused, or whether the capturing tab should retain focus.
Links: * Explainer: https://github.com/WICG/conditional-focus/blob/main/README.md * Spec: * Generally, it's in: https://www.w3.org/TR/screen-capture/#dom-capturecontroller-setfocusbehavior * The two PRs that introduced this are: * https://github.com/w3c/mediacapture-screen-share/pull/235/files * https://github.com/w3c/mediacapture-screen-share/pull/240/files * ChromeStatus entry: https://chromestatus.com/feature/5646614535340032
_______________________________________________ webkit-dev mailing list email@example.com https://lists.webkit.org/mailman/listinfo/webkit-dev