Open Bug 1565712 Opened 6 years ago Updated 5 months ago

setLocalDescription should throw InvalidModificationError

Categories

(Core :: WebRTC: Signaling, defect, P3)

defect

Tracking

()

People

(Reporter: drno, Unassigned)

References

Details

According to https://www.w3.org/TR/webrtc/#set-the-rtcsessiondescription Firefox is suppose to raise a InvalidModificationError in case the local description has been modified before setting.
This would be helpful to avoid bug reports like bug 1555808.

Byron, could please start working on a patch for this?

I expect this to cause lots of problems so we probably need to have a pref around it and test a lot before we can turn it on.

Flags: needinfo?(docfaraday)
See Also: → 1555808

Yeah, I agree with jib. To get away from SDP munging, we're going to need to implement setParameters properly.

Flags: needinfo?(docfaraday)
Severity: normal → S3
Type: enhancement → defect
Summary: Implement InvalidModificationError → setLocalDescription should throw InvalidModificationError
Priority: P2 → P3
You need to log in before you can comment on or make changes to this bug.