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: Mark Foltz via GitHub <sysbot+gh@w3.org>
Date: Tue, 08 Nov 2016 18:42:50 +0000
To: public-secondscreen@w3.org
Message-ID: <issue_comment.created-259222314-1478630568-sysbot+gh@w3.org>
The current spec doesn't assume there's a dialog (permission can be 
granted other ways) so we'd have to craft an algorithm that fires a 
dummy event in those cases to deliver a Promise that resolves 
immediately.  In my opinion it adds extra complexity to the API, which
 can be avoided by adjusting other parts of the spec.

I think a simpler fix is to just break the start a presentation 
algorithm into two parts (at step 13) and make step 19 optional (i.e. 
pass an optional Promise to the second half of the algorithm).  When 
the user agents wants to start a presentation from a defaultRequest, 
it would pass D with no Promise to step 13.

GitHub Notification of comment by mfoltzgoogle
Please view or discuss this issue at 
 using your GitHub account
Received on Tuesday, 8 November 2016 18:42:58 UTC

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