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

Re: [presentation-api] It is unclear what "If there is already an unsettled Promise from a previous call to start for the same controlling browsing context" means"

From: Mark Foltz via GitHub <sysbot+gh@w3.org>
Date: Mon, 21 Nov 2016 22:34:00 +0000
To: public-secondscreen@w3.org
Message-ID: <issue_comment.created-262089048-1479767637-sysbot+gh@w3.org>
The intention was to allow the user agent to use modal UI for display 
selection.  In that scenario, it would be complicated to support 
simultaneous requests, or confusing to service one request immediately
 after the other.

I'll craft a PR along the lines of,

> If there is already an unsettled Promise from a call to `start()` on
 any PresentationRequest in the same controlling browsing context, 
return a new `Promise` rejected with an `OperationError` exception and
 abort all remaining steps.

Alternatively, we could convert this step to an implementation note 
that browser is allowed to use modal UI for display selection and 
allowed to reject a simultaneous `start()` request according to the 
constraints of that UI.)

-- 
GitHub Notification of comment by mfoltzgoogle
Please view or discuss this issue at 
https://github.com/w3c/presentation-api/issues/364#issuecomment-262089048
 using your GitHub account
Received on Monday, 21 November 2016 22:34:06 UTC

This archive was generated by hypermail 2.3.1 : Monday, 21 November 2016 22:34:07 UTC