W3C home > Mailing lists > Public > public-secondscreen@w3.org > September 2015

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

From: François Daoust via GitHub <sysbot+gh@w3.org>
Date: Mon, 14 Sep 2015 13:14:59 +0000
To: public-secondscreen@w3.org
Message-ID: <issues.opened-106338322-1442236498-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.3.1 : Monday, 14 September 2015 13:15:02 UTC