[webrtc-pc] setLocalDescription() with empty string sdp is allowed to pass without calling createOffer/createAnswer

soareschen has just created a new issue for https://github.com/w3c/webrtc-pc:

== setLocalDescription() with empty string sdp is allowed to pass without calling createOffer/createAnswer ==
#1333 adds the `[[LastOffer]]` and `[[LastAnswer]]` slots, which is initialized to `''`. In the new steps for set session description, `InvalidModificationError` is thrown based on string equality comparison with `[[LastOffer]]` and `[[LastAnswer]]`. This means user can pass empty string sdp without calling `createOffer`/`createAnswer`.

Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1463 using your GitHub account

Received on Friday, 7 July 2017 05:04:03 UTC