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

@avayvod The expectation is that the controlling user agent will 
provide a way to terminate the presentation (not just a specific 
connection) without requiring a loaded page to have a connected 
session.  It seems like this is a necessary part of any usable 
implementation since there's no guarantee that the user will be able 
to navigate to a page and then get that page to reconnect to the 
presentation, just to be able to call `.terminate()`.  Meanwhile, the 
user agent itself (if it can connect to the display) should be able to
 offer the remote-kill capability (and all protocols I am aware of 
support it). However, it seems like this is difficult to require a 
specific feature with the spec _per se_ however.  

@sicking Yes that's what I'm proposing here.  Another thought is that 
as long as there is a controlling session connected to the page, the 
controller can send a command to the presentation asking it to close 
itself.  Adding `.terminate()` just provides an alternative 
implementation of this function at the presentation network protocol 
level, versus the application protocol level.


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

Received on Wednesday, 2 September 2015 16:50:44 UTC