W3C home > Mailing lists > Public > public-secondscreen@w3.org > April 2017

Re: [presentation-api] Behavior of a receiving user agent in reconnecting

From: Shih-Chiang Chien via GitHub <sysbot+gh@w3.org>
Date: Mon, 17 Apr 2017 08:57:38 +0000
To: public-secondscreen@w3.org
Message-ID: <issue_comment.created-294435462-1492419456-sysbot+gh@w3.org>
Throwing away the closed connection seems to be a better choice from the perspective of implementation. This can also lead to a simpler protocol design for managing the connection lifecycle in browser.

`connectionremoved` will not be useful because it'll be much efficient to use `statechange` event. Using `connectionremoved` mean web page need to do a series of comparison to know what session is removed. No extra value for web developers to use this event instead of `statechange`.

-- 
GitHub Notification of comment by schien
Please view or discuss this issue at https://github.com/w3c/presentation-api/issues/419#issuecomment-294435462 using your GitHub account
Received on Monday, 17 April 2017 08:57:45 UTC

This archive was generated by hypermail 2.3.1 : Monday, 17 April 2017 08:57:45 UTC