Re: [web-nfc] Use addEventListener instead of watch

Yes, that is a fear, so we should be careful when doing so, and work with the people who specced the upstream feature.

Luckily, we also pass these specs through the TAG review which should catch most of these.

With the `NFCReadFilter` we are not really doing that though.

For factory function, I think that would make more sense for the NFC object if we expected to have multiple of  those, and would be in line with Generic Sensors. But it is not really a sensor and we don't expect to have multiple (if so a default could be chosen by the browser, I guess, like camera)

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

Received on Friday, 28 September 2018 09:01:23 UTC