- From: Jan-Ivar Bruaroey via GitHub <sysbot+gh@w3.org>
- Date: Mon, 25 Mar 2019 21:26:41 +0000
- To: public-webrtc-logs@w3.org
jan-ivar has just created a new issue for https://github.com/w3c/webrtc-pc:
== SLD({type: "offer"}) wo/createOffer should be InvalidModificationError ==
What error should this produce?
```js
await new RTCPeerConnection().setLocalDescription({type: "offer"}); // ?
```
The default `""` sdp matches **[[LastOffer]]**, which is also `""` here since *createOffer* was never called, so we get past the *InvalidModificationError* check, which seems unintentional.
*RTCError*? *InvalidAccessError*? *OperationError*?
I vote we improve the *InvalidModificationError* check to catch it.
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/2143 using your GitHub account
Received on Monday, 25 March 2019 21:26:43 UTC