Hi Elad,
At the time of getDisplayMedia design, people advocated against the ability for a web page to influence or restrict user choice, for security reasons.
Doesn't this property go against that conscious design decision? What is your security analysis here?
Also, getCurrentViewPort is trying to solve the same problem, in a safer way (site-isolation), without a device picker. Isn't this a better solution than preferCurrentTab?
Or are you restricting preferCurrentTab to some specific tabs? Or do you see that as a short-term solution that would become irrelevant when getCurrentViewPort is available?
Finally, User Agents are free to remember past user choices so that prompts can be updated in case a web page is often self-captured by a user.
Has Chrome tried such approaches that do not require a new API?