- From: Louay Bassbouss via GitHub <sysbot+gh@w3.org>
- Date: Thu, 17 Dec 2015 09:03:17 +0000
- To: public-secondscreen@w3.org
louaybassbouss has just created a new issue for https://github.com/w3c/presentation-api: == 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 problem: 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 Interface. 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 account
Received on Thursday, 17 December 2015 09:03:29 UTC