W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > June 2018

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

From: Martin Thomson via GitHub <sysbot+gh@w3.org>
Date: Tue, 19 Jun 2018 06:02:10 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-398283904-1529388124-sysbot+gh@w3.org>
I just looked at the [spec](http://www.ecma-international.org/ecma-262/6.0/index.html#sec-promise-reject-functions) and while my understanding was that resolving or rejecting a promise was a noop if it was settled, that is only true for the resolution and rejection functions.  So I've refactored this code a little.

GitHub Notification of comment by martinthomson
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1513#issuecomment-398283904 using your GitHub account
Received on Tuesday, 19 June 2018 06:02:18 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 6 May 2023 21:19:44 UTC