[webrtc-pc] Make promise rejection/enqueing consistent

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