- From: François Beaufort via GitHub <sysbot+gh@w3.org>
- Date: Sat, 19 Oct 2019 05:52:31 +0000
- To: public-web-nfc@w3.org
I agree with @reillyeon. The funny thing is that push already rejects a promise with an appropriate DOMException, not a NDEFPushErrorEvent. ```js const reader = new NDEFReader(); try { await reader.scan(); // Scanning is happening... } catch(e) { // NDEF scanning could not start. } ``` I'll be happy to take action and update spec accordingly. -- GitHub Notification of comment by beaufortfrancois Please view or discuss this issue at https://github.com/w3c/web-nfc/issues/391#issuecomment-544105191 using your GitHub account
Received on Saturday, 19 October 2019 05:52:32 UTC