Re: [presentation-api] Add a PresentationConnection.disconnected state for accidental disconnections

I'm slightly confused by this, how is the UC not fulfilled with:
```js
var connection = getTheConnection();
connection.onstatechange = function() {
  if (connection.state != 'connected') {
    handleDisconnect();
  }
};
```

-- 
GitHub Notif of comment by mounirlamouri
See 
https://github.com/w3c/presentation-api/issues/217#issuecomment-154384682

Received on Friday, 6 November 2015 11:21:30 UTC