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

Re: [presentation-api] Remove getAvailability() url argument unless implemented

From: Mark Foltz via GitHub <sysbot+gh@w3.org>
Date: Tue, 07 Jul 2015 21:03:22 +0000
To: public-secondscreen@w3.org
Message-ID: <issue_comment.created-119340085-1436302999-sysbot+gh@w3.org>
The URL argument to `getAvailability` isn't used at present in Blink 
because it's a relatively recent spec change that isn't yet plumbed 
through into Chromium.  The functionality is already present through a
 much more roundabout mechanism: the document can set a default 
presentation URL [1] which in turn conditionally fires an `available` 
event on Presentation if there is a matching display.

Mozilla had some objections to overloading the semantics of the 
default presentation in this way, and we are in the process of 
revising the spec to cleanly define a `PresentationRequest` which 
combines display availability and session creation, currently 
discussed in #26.  This would move the URL parameter from 
`getAvailability` to the `PresentationRequest` ctor.

Once consensus is reached on #26 we will complete the implementation 
in Blink and Chromium.  

Does that answer your concerns @foolip?

[1] 
https://code.google.com/p/chromium/codesearch#chromium/src/third_party/WebKit/Source/web/WebDocument.cpp&rcl=1436211521&l=370



-- 
GitHub Notif of comment by mfoltzgoogle
See 
https://github.com/w3c/presentation-api/issues/138#issuecomment-119340085
Received on Tuesday, 7 July 2015 21:03:24 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 7 July 2015 21:03:24 UTC