Contact emailselada...@chromium.org Explainer https://github.com/eladalon1983/conditional-focus/blob/main/README.md
Specificationhttps://eladalon1983.github.io/conditional-focus/ Design docs https://docs.google.com/document/d/1LHJRt-ry9hwzFTbPxKrmD0VvtEFEU6lvqsD7k6wwGKM/ Summary Extend the getDisplayMedia APIs to ensure that tab-capture and window-capture return a new subclass of MediaStreamTrack called FocusableMediaStreamTrack. This new subclass exposes the focus() method. This new method allows Web-applications, when capture starts, to decide whether the captured tab/window should be immediately focused, or whether the capturing tab+window should remain the focused one. Blink componentBlink <https://bugs.chromium.org/p/chromium/issues/list?q=component:Blink> TAG reviewhttps://github.com/w3ctag/design-reviews/issues/679 TAG review statusPending Risks Interoperability and Compatibility Gecko: No signal WebKit: No signal Web developers: No signals Ergonomics N/A Activation Not challenging - just feature-detect: // Pre-existing functionality: let mediaStream = await navigator.mediaDevices.getDisplayMedia(); let [track] = mediaStream.getVideoTracks(); // New functionality behind feature-detection: if (!!track.focus) { track.focus(...); } Security See design-doc. Goals for experimentation Reason this experiment is being extended Ongoing technical constraints Debuggability N/A Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?No Supported on all Desktop platforms. Is this feature fully tested by web-platform-tests <https://chromium.googlesource.com/chromium/src/+/master/docs/testing/web_platform_tests.md> ?No Flag nameConditionalFocus Requires code in //chrome?True Tracking bughttps://bugs.chromium.org/p/chromium/issues/detail?id=1215480 Launch bughttps://bugs.chromium.org/p/chromium/issues/detail?id=1214483 Estimated milestones m96 Link to entry on the Chrome Platform Status https://www.chromestatus.com/feature/5646614535340032 Links to previous Intent discussionsIntent to prototype: https://groups.google.com/a/chromium.org/g/blink-dev/c/lbuqOGx07xY This intent message was generated by Chrome Platform Status <https://www.chromestatus.com/>. -- You received this message because you are subscribed to the Google Groups "blink-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscr...@chromium.org. To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAMO6jDNKs_83QYuU9NreUPqimVodVSMuigofhOdy32jVf0nLiA%40mail.gmail.com.