Re: [mediacapture-screen-share] Concern: Availability of getDisplayMedia() in file:// Secure Contexts (#320)

Can you explain the threat vector?

`getDisplayMedia()` opens a picker where the user chooses the target independent of the initiator. So it's not clear what limiting initiation would accomplish.

Self-capture is [getViewportMedia](https://w3c.github.io/mediacapture-viewport/#mediadevices-additions). This issue might be more relevant there.

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


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

Received on Saturday, 12 July 2025 00:27:20 UTC