With [w3c/mediacapture-screen-share#106](https://github.com/w3c/mediacapture-screen-share/pull/106), the spec now requires a user gesture for `getDisplayMedia()`. Without one, it must reject with with `InvalidStateError`.
Bug 1580944 Comment 0 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
With [w3c/mediacapture-screen-share#106](https://github.com/w3c/mediacapture-screen-share/pull/106), the spec now requires a user gesture for `getDisplayMedia()`. Without one, it must reject with `InvalidStateError`.