- From: François Daoust via GitHub <sysbot+gh@w3.org>
- Date: Mon, 11 Jan 2016 15:36:45 +0000
- To: public-secondscreen@w3.org
tidoust has just submitted a new pull request for https://github.com/w3c/presentation-api: == Split the "close" algorithm into "closing" and "close" procedures == This is an attempt to clarify the closing procedure, in particular to split it into two separated procedures: 1. the user agent starts closing the underlying connection, signaling its plan to the other end. 2. the user agent actually fires the "closed" event when the underlying connection is closed. The first step eventually calls the second when the underlying connection is marked as "closed". The different possibilities that call the first step are: - presentation connection could not be established - close() was called - a PresentationConnection object S is being discarded The different possibilities that directly call the second step are: - the underlying connection has been closed - unrecoverable error while sending a message - unrecoverable error while receiving a message - signal received from the other end that the PresentationConnection object is to be closed I extracted the definition of "destination browsing context" from one of the procedures and moved it to Common Idioms section to be able to reference it from other procedures. I also clarified that conformance requirements phrased against a "user agent" may refer to the controlling browsing context or to the receiving browsing context depending on the context. Also note the update in the "terminate" procedures to "queue a task" when interacting with presentations in the set of presentations, given that these presentations are related to other tabs (which may actually run another event loop) See https://github.com/w3c/presentation-api/pull/238
Received on Monday, 11 January 2016 15:36:53 UTC