Re: [web-nfc] Handling non-formatted tags (#367)

Right there was a [proposal](https://bugs.chromium.org/p/chromium/issues/detail?id=1012463#c8) for this:

> I was expecting a reading event with no data records in it to indicate an unformatted card (vs a single empty record for formatted but empty card).

So we could add 
5. when detecting non-formatted tag, fire an [NFCReadinEvent](https://w3c.github.io/web-nfc/#dom-nfcreadingevent) whose `message` contains an empty array for `records`.

Is that correct?

What should be the policy for pushing to a non-formatted tag?
We don't have an API for forrmatting a tag, so could we assume 3. (with eventual constraints - please suggest)?

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

Received on Thursday, 10 October 2019 17:03:50 UTC