-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Suggest User Agents treat a captured tab as visible #307
Comments
@youennf did you check if the captured tab's visibility was tied to the capturing tab's visibility? To determine whether it should be normative or not might depend on whether this would be considered JS observable or not, which seems debatable. While thinking through a WPT test for this — instrument self-capture and then window.open() another tab and to see if focus still is lost — is when it occurred to me it would make sense for the visibility to be inherited, which would make the WPT not work. So maybe this is not observable, and we should just describe it as best practice? |
As to whether this should include broader guidance against leaking that a tab is being captured, discuss. |
I didn't, given it can be sent to remote peers, my guess it that it does not depend on the capturing tab's visibility.
This is JS observable via
If there is no guidance, I think it is worth adding a section describing the potential issues. |
From @youennf in w3c/mediacapture-surface-control#42:
Chrome's behavior here seems desirable, so we might want to capture it in the spec, as either mandate or best practice.
The text was updated successfully, but these errors were encountered: