[presentation-api] Define a "set of presentations" for the receiving context?

tidoust has just created a new issue for 
https://github.com/w3c/presentation-api:

== Define a "set of presentations" for the receiving context? ==
The "set of presentations" is defined as "the presentation sessions 
created by the controlling browsing contexts for the user agent'. 
However, the `PresentationReceiver` interface also makes use of that 
set, e.g. in `getSession()`: "If the set of presentations is empty, 
then wait until at least one element is added to the set of 
presentations".

However, if the UA implements both the controller and receiver 
interfaces, the first presentation session added to this set may not 
be an "incoming" presentation session. It could be a session created 
through a call to `start()` instead.

The prose could perhaps be adjusted to distinguish entries in that set
 based on the URL (null for incoming presentations, set for those 
created). However, it seems easier to define a separate "set of 
presentations" for the receiving context, which could perhaps be named
 "set of incoming presentations".

What do you think?

See https://github.com/w3c/presentation-api/issues/193

Received on Monday, 14 September 2015 13:15:01 UTC