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

I don't think it will be "allowed to pass". Instead of being rejected with an `InvalidModificationError`,  step 5 indicates it would be rejected with `RTCError`: 

"5. If the content of description is not valid SDP syntax, then reject p with an RTCError (with errorDetail set to "sdp-syntax-error" and the sdpLineNumber attribute set to the line number in the SDP where the syntax error was detected) and abort these steps."

-- 
GitHub Notification of comment by aboba
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1463#issuecomment-313588829 using your GitHub account

Received on Friday, 7 July 2017 05:15:29 UTC