[web-nfc] Error event handling should specific the error code (#549)

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

== Error event handling should specific the error code ==
In [NFC reading algorithm](https://w3c.github.io/web-nfc/#dfn-nfc-reading-algorithm):
> If the NFC tag in proximity range does not expose NDEF technology for reading or formatting, run the following sub-steps:
> 1. For each NDEFReader instance reader in the activated reader objects, run the following sub-steps:
>    1. Fire an event named "error" at reader.
> 2. Abort these steps.

Spec doesn't explicitly specify the error code when firing 'error' event.

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

Received on Wednesday, 11 March 2020 05:56:56 UTC