Re: [mediacapture-main] Broken foreground detection (#752)

> Does the platform already expose whether the current window has focus? 

If you're in an iframe without focus, then there's no way to tell whether the current window has focus or not AFAIK.

> ...if fingerprinting exposure can be comparable to focus. ... For example, if delaying the exposure ...

Agreed. I see no time limit where the spec [says](https://w3c.github.io/mediacapture-main/#dfn-device-change-notification-steps): _"[User Agents](https://w3c.github.io/mediacapture-main/#dfn-user-agent) MAY add fuzzing on the timing of events to avoid cross-origin activity correlation"_.



-- 
GitHub Notification of comment by jan-ivar
Please view or discuss this issue at https://github.com/w3c/mediacapture-main/issues/752#issuecomment-1302619666 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 3 November 2022 20:18:53 UTC