- From: Reilly Grant via GitHub <sysbot+gh@w3.org>
- Date: Thu, 14 Mar 2019 17:38:46 +0000
- To: public-device-apis-log@w3.org
The WebIDL spec describes [`SecurityError`](https://heycam.github.io/webidl/#securityerror) as "the operation is insecure," and [`NotAllowedError`](https://heycam.github.io/webidl/#notallowederror) as "the request is not allowed by the user agent or the platform in the current context, possibly because the user denied permission." This seems to clearly indicate that permission errors should generate a `NotAllowedError`. -- GitHub Notification of comment by reillyeon Please view or discuss this issue at https://github.com/w3c/wake-lock/issues/159#issuecomment-472981333 using your GitHub account
Received on Thursday, 14 March 2019 17:38:47 UTC