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 accountReceived on Thursday, 14 March 2019 17:38:47 UTC
This archive was generated by hypermail 2.4.0 : Monday, 4 July 2022 12:47:56 UTC