- From: Zoltan Kis via GitHub <sysbot+gh@w3.org>
- Date: Mon, 28 Sep 2015 13:48:45 +0000
- To: public-web-nfc@w3.org
Since both pushMessage and watch algorithms depend on adapter suspended state, which depends on the Window objects, when the Window is closed, I expect implementations reject the pending push Promises, cancel the pending push buffers/timers and also the list of active watches. We should add these steps as a separate algorithm. One way would be to add the pending push Promises as internal slots to the NFCAdapter object, and define unload behavior, part of which is rejecting pending Promises. -- GitHub Notif of comment by zolkis See https://github.com/w3c/web-nfc/issues/57#issuecomment-143748369
Received on Monday, 28 September 2015 13:48:47 UTC