W3C home > Mailing lists > Public > public-secondscreen@w3.org > November 2016

Re: [presentation-api] "setting presentation.defaultRequest will have no effect" note is ambiguous

From: Louay Bassbouss via GitHub <sysbot+gh@w3.org>
Date: Sat, 05 Nov 2016 12:05:16 +0000
To: public-secondscreen@w3.org
Message-ID: <issue_comment.created-258607448-1478347515-sysbot+gh@w3.org>
I am now thinking about the current behaviour of defaultRequest. In 
current spec the controlling page get notified (using 
`onconnectionavailable`) only if the user selects a display in the 
dialog. Do we need to inform the page that the selection dialog is 
open? in this case we need to change the spec as following:

navigator.presentation.defaultRequest = new 
navigator.presentation.defaultRequest.onstart = function(evt) {
    // here the page knows that a dialog is open

in this case we don't need to constrict a new algorithm for default 
request. What do you think?

GitHub Notification of comment by louaybassbouss
Please view or discuss this issue at 
 using your GitHub account
Received on Saturday, 5 November 2016 12:05:22 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:19:01 UTC