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

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