[presentation-api] new commits pushed by mfoltzgoogle

The following commits were just pushed by mfoltzgoogle to 
https://github.com/w3c/presentation-api:

* Split the "close" algorithm into "closing" and "close" procedures

This commit tries to make the closing procedure clearer, in particular
 the fact
that this is a two-step procedure:
1. the user agent starts closing the underlying connection, signaling 
the other
end that about its plans.
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.
  by François Daoust
https://github.com/w3c/presentation-api/commit/3fcb6d2cc005ab2ca8f2d3e1484360268d558fed

* Rework PR
  by mark a. foltz
https://github.com/w3c/presentation-api/commit/3fa75a06cd0f7f6e3203b2c707542f449ed6e52d

* merge with gh-pages
  by mark a. foltz
https://github.com/w3c/presentation-api/commit/27667d65f6ba6b32baca239d7bb90b8bdaa5e3f7

* tidy
  by mark a. foltz
https://github.com/w3c/presentation-api/commit/f17d54dc079700e940ca1b009c29445856344cb8

* Fix steps for send error
  by mark a. foltz
https://github.com/w3c/presentation-api/commit/46422fa70d68b448b2e0171ce5ce1b4b5b5a9c19

* Update for discard case
  by mark a. foltz
https://github.com/w3c/presentation-api/commit/db1bd26d9fd7711c8608d0025306eebe1a365bb2

* Resolve re-entrancy issues
  by mark a. foltz
https://github.com/w3c/presentation-api/commit/a6bbd3144c6a6cfb6867a467e21ca19c1c71bbf6

* Fix algorithm
  by mark a. foltz
https://github.com/w3c/presentation-api/commit/b1db3da9f72ae801ad925b92c263a750a60c9f44

* Minor fixes
  by mark a. foltz
https://github.com/w3c/presentation-api/commit/f2a7a43c06f937b741ca206ce44ccd6b5ec5e761

* Tidy
  by mark a. foltz
https://github.com/w3c/presentation-api/commit/bab33b4e93d396e47f0fcc046712d0ac0d3a5d98

* Merge pull request #239 from w3c/tidoust-close-algorithm

Updated version of PR #238
  by Mark Foltz
https://github.com/w3c/presentation-api/commit/5139fc73e118073cd154d8f53f766dc9decfb6c9

Received on Tuesday, 19 January 2016 18:18:23 UTC