[web-nfc] Notification when a browsing context is closed?

mrj has just created a new issue for https://github.com/w3c/web-nfc:

== Notification when a browsing context is closed? ==
The API doesn't currently state what happens to active `pushMessage()`
 and `watch()` promises when their browser window is closed. Are the 
promises explicitly rejected with an AbortError (with the 
window.closed property indicating the reason), or is there only the 
separate `unload` event on the window object? If the former, do the 
aborts come before or after the window unload event?

If another document already specifies the behaviour of promises when 
their window is closed, this document should be referenced in the 
`pushMessage()` and `watch()` algorithm sections.

See https://github.com/w3c/web-nfc/issues/57

Received on Monday, 28 September 2015 13:23:10 UTC