W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > September 2018

Re: [mediacapture-screen-share] Should getDisplayMedia be functional in SecureContext only?

From: Jan-Ivar Bruaroey via GitHub <sysbot+gh@w3.org>
Date: Thu, 13 Sep 2018 12:27:29 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-420988737-1536841648-sysbot+gh@w3.org>
What are the behavioral differences from this choice?

 1. `("getDisplayMedia" in navigator)` is false, e.g. throws `TypeError: ... not a function` vs.
 2. Rejects promise with some error? vs.
 3. something else?

Where "some error" is what, `SecurityError`, `NotAllowedError`, `NotSupportedError`?

Neither Feature Policy nor the Permissions spec seem to mention specific errors.

-- 
GitHub Notification of comment by jan-ivar
Please view or discuss this issue at https://github.com/w3c/mediacapture-screen-share/issues/77#issuecomment-420988737 using your GitHub account
Received on Thursday, 13 September 2018 12:27:31 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 6 May 2023 21:19:45 UTC