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

Wouldn't that be better to create a 
`PresentationConnectionStateChangeEvent` that would be use when firing
 a `statechange` event instead of firing a `simple event`? We could 
add some property there. For example `userInitiated`. It sounds 
cleaner than creating a new concept (`disconnected`) that wouldn't 
really mean what it says -- If I understand correctly, `disconnected` 
isn't really that the connection is disconnected but that it was 
`closed` without user intervention.

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

Received on Saturday, 7 November 2015 12:00:07 UTC