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

[presentation-api] Presentation API IDL Tests for Presentation Interface

From: Louay Bassbouss via GitHub <sysbot+gh@w3.org>
Date: Thu, 17 Dec 2015 09:03:17 +0000
To: public-secondscreen@w3.org
Message-ID: <issues.opened-122690919-1450342996-sysbot+gh@w3.org>
louaybassbouss has just created a new issue for 

== Presentation API IDL Tests for Presentation Interface ==
The Presentation API specifies interfaces for controlling and 
receiving user agents in the same spec. The [Presentation 
Interface][1] is one of the common interfaces used in both classes of 
user agents. In controlling UA only the `defaultRequest` attribute is 
relevant and for receiving UA only the `receiver` attribute. If one of
 these attributes is `undefined` (e.g. `defaultRequest` is not defined
 in receiving user agent or `receiver` is not defined in controlling 
user agent), the IDLharness will fail. I see 3 options to solve the 
1. Modify the Presentation Interface in the idlharness by remove the 
defaultRequest attribute in the idlharness of receiving UA and 
receiver attribute in the idlharness of controlling UA.
2. Implementors set `defaultRequest` to `null` in receiving UA and 
`receiver` to `null` in controlling UA (need to make this also clear 
in the spec). 
3. Define two different interfaces instead of one common Presentation 
I prefer option 2. What do you think?

[1]: http://w3c.github.io/presentation-api/#interface-presentation 

Please view or discuss this issue at 
https://github.com/w3c/presentation-api/issues/230 using your GitHub 
Received on Thursday, 17 December 2015 09:03:29 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:18:59 UTC