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

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

From: Soares Chen via GitHub <sysbot+gh@w3.org>
Date: Fri, 07 Jul 2017 05:03:57 +0000
To: public-webrtc@w3.org
Message-ID: <issues.opened-241158253-1499403836-sysbot+gh@w3.org>
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

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