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

Re: [presentation-api] Define return value for cancelled/missing session for startSession/joinSession

From: Mark Foltz via GitHub <sysbot+gh@w3.org>
Date: Fri, 26 Jun 2015 17:06:10 +0000
To: public-secondscreen@w3.org
Message-ID: <issue_comment.created-115766383-1435338369-sysbot+gh@w3.org>
I think the proposal by @schien can be implemented with the current 
spec; it allows the UA to reject the Promise with a `DOMException` of 
type `AbortError` if the user denies permission, either one time or 

And I believe that always resolving allows the controlling page to 
implement the fallback behavior that @anssiko outlines above.

As far as the implementation in Chrome - currently we allow the user 
to initiate presentation, or close the dialog without selecting a 
display.   We don't have a block option, but I wouldn't rule that out 
in the future.

GitHub Notif of comment by mfoltzgoogle
Received on Friday, 26 June 2015 17:06:12 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:18:56 UTC