Re: [web-nfc] Join NDEFReader and NDEFWriter (#601)

Since we merged NDEFReader (which had an `onerror` event) and NDEFWriter (which did not have it), someone may assume that in the joined NDEFReader `onerror` is also relevant to writing, which is not the case. Therefore we renamed `onerror` to `onreadingerror`.

In the impl `onerror` conveys the NFC read errors (either due to access problems, or technical faults) to the readers.

Looks like since filters are gone, we have only one reader, and `NFCProxy` could be simplified (`readers_` removed etc), in conformance with the new internal slots (`PendingReader` instead of `ActivatedReaderList`) of `NDEFReader`.

-- 
GitHub Notification of comment by zolkis
Please view or discuss this issue at https://github.com/w3c/web-nfc/pull/601#issuecomment-699799064 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 28 September 2020 06:21:24 UTC