[webidl] Need an error for "User refused permission" (#95)

In #85, a new "not allowed" error was added. The description says:

"The request is not allowed by the user agent or the platform in the current context."

This does not include the user refusing permission.
We (WEBRTC) have been using SecurityError for this, and were considering switching to this one, (https://github.com/w3c/mediacapture-main/issues/317) - but the description doesn't allow it to be used for users' refusal to allow.

Should we either add an UserRefusedPermission error, or change the description of this one?


---
Reply to this email directly or view it on GitHub:
https://github.com/heycam/webidl/issues/95

Received on Thursday, 3 March 2016 15:26:25 UTC