Re: [presentation-api] Refine how to do session teardown/disconnect/closing

I'd like to put my two cents before the F2F meeting.

Currently `PresentationSessionState` only support two states: 
`connected` and `disconnected`, which is not enough for both 
requesting page and presenting page to distinguish between terminating
 the presentation or presentation display being disconnected 
accidentally.

This can be solved by introducing additional state `terminated`. While
 `session.close()` (or rename to `session.terminate()`) being invoked,
 `session.state` will enter `terminated` state. Application can 
reclaim the resources and terminate itself, e.g. closing the window.

-- 
GitHub Notif of comment by schien
See 
https://github.com/w3c/presentation-api/issues/35#issuecomment-101509232

Received on Wednesday, 13 May 2015 04:20:03 UTC