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

I would prefer to reject this Promise while user dismiss the selection
 dialog. An unresolved Promise is "leaked" until page is closed and 
web developer cannot destroy it. I'll suggest using following UI 
behavior:
* Allow - promise resolved with a session
* Cancel - promise reject with a reason
* optionally this dialog can provide an option "block forever" which 
prevents a malicious page requesting session automatically.

-- 
GitHub Notif of comment by schien
See 
https://github.com/w3c/presentation-api/issues/20#issuecomment-101986597

Received on Thursday, 14 May 2015 09:41:47 UTC