w3c / web-nfc

Web NFC
https://w3c.github.io/web-nfc/
Other
309 stars 68 forks source link

Two 'ignoreRead' relevant descriptions look wrong #349

Closed Honry closed 4 years ago

Honry commented 5 years ago
  1. Look at the definition of ignoreRead, does it only work for an NFC tag?

    When the value of the ignoreRead property is true, the push algorithm will skip invoking the receiving and parsing steps for an NFC tag.

  2. In push operation,

    If options's ignoreRead is not equal to true, run the receiving steps.

While in the receiving steps, “step 3 of the NFC listen algorithm.” is out of sync, what was the exact step it intended to refer to? And hardcoding step number is not appropriate.

If there are any NFCReader instances in activated reader objects then UAs MUST listen to NDEF messages, according to step 3 of the NFC listen algorithm.

zolkis commented 5 years ago

Look at the definition of ignoreRead, does it only work for an NFC tag?

Yes, that's only for tags.

according to step 3 of the NFC listen algorithm

That part of the sentence is not needed, I will remove it.

Honry commented 5 years ago

Look at the definition of ignoreRead, does it only work for an NFC tag? Yes, that's only for tags.

@zolkis, thanks for your confirmation!