- From: Elad Alon via GitHub <sysbot+gh@w3.org>
- Date: Thu, 28 Sep 2023 14:21:39 +0000
- To: public-webrtc-logs@w3.org
Concrete proposal - following the example set by [RTCError](https://w3c.github.io/webrtc-pc/#rtcerror-interface), we extend DOMException as follows:
```webidl
enum NotAllowedReason {
kUserRejected,
kOperatingSystemDisallowed,
};
dictionary GetDisplayMediaNotAllowedErrorInit {
required NotAllowedReason reason;
};
interface GetDisplayMediaNotAllowedError : DOMException {
constructor(GetDisplayMediaNotAllowedErrorInit init, optional DOMString message = "");
readonly attribute NotAllowedReason reason;
};
```
Wdyt? (@alvestrand, @youennf, @jan-ivar)
--
GitHub Notification of comment by eladalon1983
Please view or discuss this issue at https://github.com/w3c/mediacapture-screen-share/issues/281#issuecomment-1739342077 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 28 September 2023 14:21:41 UTC