w3c / web-nfc

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

Out of date statement about "NFC" object in section 9.3 #215

Closed DonnaWuDongxia closed 5 years ago

DonnaWuDongxia commented 5 years ago

As the "NFC" has been deleted, following words seem like be out of date in section 9.3:

"Each Window object where NFC is exposed has a separate NFC instance. The visibility and focus state of the Window object determines the suspended state of the associated NFC instance. "

anssiko commented 5 years ago

Thanks for reporting @DonnaWuDongxia!

I believe this is a leftover from spec update that split navigator.nfc into global NFCWriter and NFCReader constructors.

Cc @kenchris

kenchris commented 5 years ago

Yes, feel free to send PRs for this

kenchris commented 5 years ago

@Honry didn't you fix this?

Honry commented 5 years ago

Ah, I didn't realize there's already an issue for old "NFC" instance, sorry for the duplication. Fixed in https://github.com/w3c/web-nfc/pull/273, let's close it now.