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

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