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

Re: [remote-playback] Make NotFoundError when prompt() is called and availability monitoring is not available optional

From: Mounir Lamouri via GitHub <sysbot+gh@w3.org>
Date: Sat, 12 Nov 2016 22:55:31 +0000
To: public-secondscreen@w3.org
Message-ID: <issue_comment.created-260154083-1478991329-sysbot+gh@w3.org>
In the case you describe, `prompt()` would hang while the dialog is 
visible and the `state` will stay `disconnected` which is all fine, 
right? If the user picks a device, it would switch the `state` to 
`connecting` and resolve the promise. Otherwise, it would reject the 
promise with `NotAllowedError`, right?

-- 
GitHub Notification of comment by mounirlamouri
Please view or discuss this issue at 
https://github.com/w3c/remote-playback/issues/65#issuecomment-260154083
 using your GitHub account
Received on Saturday, 12 November 2016 22:55:37 UTC

This archive was generated by hypermail 2.3.1 : Saturday, 12 November 2016 22:55:37 UTC