W3C home > Mailing lists > Public > public-secondscreen@w3.org > October 2015

Re: [presentation-api] PresentationReceiver: rename getConnection() and getConnections()

From: Anton Vayvod via GitHub <sysbot+gh@w3.org>
Date: Wed, 21 Oct 2015 21:40:50 +0000
To: public-secondscreen@w3.org
Message-ID: <issue_comment.created-150033229-1445463649-sysbot+gh@w3.org>
I agree with the following:
- if the connection goes to ```terminated``` state, it's removed from 
- the page can learn about the removal by listening to connection's 
```onstatechange``` and checking against the ```terminated``` state
- ```disconnected``` connections should stay in ```connections``` as 
the page will receive ```onstatechange``` with the state set to 
```connected``` so ```onsessionavailable``` would be redundant

GitHub Notif of comment by avayvod
Received on Wednesday, 21 October 2015 21:40:52 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 21 October 2015 21:40:52 UTC