[web-nfc] Use NotAllowedError (#214)

kenchris has just created a new issue for https://github.com/w3c/web-nfc:

== Use NotAllowedError ==
The WebIDL spec describes `SecurityError` as "the operation is insecure," and `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`.

Please view or discuss this issue at https://github.com/w3c/web-nfc/issues/214 using your GitHub account

Received on Friday, 15 March 2019 09:37:11 UTC