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

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