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

[webrtc-pc] Make promise rejection/enqueing consistent

From: stefan hakansson via GitHub <sysbot+gh@w3.org>
Date: Tue, 06 Jun 2017 08:13:30 +0000
To: public-webrtc@w3.org
Message-ID: <issues.opened-233812324-1496736809-sysbot+gh@w3.org>
stefhak has just created a new issue for https://github.com/w3c/webrtc-pc:

== Make promise rejection/enqueing consistent ==
>From EKR: https://lists.w3.org/Archives/Public/public-webrtc/2017May/0166.html

(addIceCandidate)

  ```  If both sdpMid and sdpMLineIndex are null, return a promise
    rejected with a newly created TypeError.
```

See above about consistency. Why is the promise rejected here
immediately but otherwise these are enqueued? How does that help?

Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1345 using your GitHub account
Received on Tuesday, 6 June 2017 08:13:36 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 15:19:51 UTC