W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > July 2017

Re: [webrtc-pc] The same connection.peerIdentity promise can be resolved multiple times

From: Martin Thomson via GitHub <sysbot+gh@w3.org>
Date: Thu, 27 Jul 2017 23:48:10 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-318517339-1501199288-sysbot+gh@w3.org>
If there is a target peer identity or the promise resolves (those are the two cases), then the promise should be left alone if it is already resolved.  There is no new information to provide.  In the former case, `setRemoteDescription()` will fail; in the latter, the value would only resolve to the same value (but it would create a separate promise with a different resolution time).

-- 
GitHub Notification of comment by martinthomson
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1513#issuecomment-318517339 using your GitHub account
Received on Thursday, 27 July 2017 23:48:11 UTC

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