- From: Jan-Ivar Bruaroey via GitHub <sysbot+gh@w3.org>
- Date: Thu, 14 Jan 2021 16:20:04 +0000
- To: public-webrtc-logs@w3.org
@q-alex-zhao I think there's some confusion. Not having focus never produces `InvalidStateError`. > The [media capture spec](https://w3c.github.io/mediacapture-main/getusermedia.html#dom-mediadevices-getusermedia) says: > > > If the relevant settings object's responsible document is NOT fully active, return a promise rejected with a DOMException object whose name attribute has the value "InvalidStateError". This sentence is not about focus, but about [calling getUserMedia() in a discarded browsing context](https://searchfox.org/mozilla-central/rev/2a24205479519e70c0574929f45730d285141584/testing/web-platform/tests/mediacapture-streams/MediaDevices-after-discard.https.html#13,30). -- GitHub Notification of comment by jan-ivar Please view or discuss this issue at https://github.com/w3c/mediacapture-main/issues/763#issuecomment-760302353 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 14 January 2021 16:20:05 UTC