Closed Bug 1529635 Opened 5 years ago Closed 5 years ago

RTCIceCandidate constructor validation for sdpMid/sdpMLineIndex is not implemented

Categories

(Core :: WebRTC: Signaling, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED
mozilla68
Tracking Status
firefox68 --- fixed

People

(Reporter: bwc, Assigned: bwc)

References

Details

Attachments

(2 files)

Spec says we need to verify that at least one of sdpMid and sdpMLineIndex need to be set in the constructor for RTCIceCandidate. We do this sort of checking in addIceCandidate, but that's too late according to spec.

We do this sort of checking in addIceCandidate, but that's too late according to spec.

FWIW the spec also says to do it there, so we shouldn't remove it. We need to do it in both places, because addIceCandidate takes a dictionary now.

Blocks: 1533019
Assignee: nobody → docfaraday
See Also: → 1535410
Attachment #9051382 - Attachment description: Bug 1529635: Add sdpMid/sdpMLineIndex checking to RTCIceCandidate. r?jib → Bug 1529635 - Part 1: Add sdpMid/sdpMLineIndex checking to RTCIceCandidate. r?jib
Pushed by bcampen@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/703b266e3529
Part 1: Add sdpMid/sdpMLineIndex checking to RTCIceCandidate. r=jib
https://hg.mozilla.org/integration/autoland/rev/5e2514122d46
Part 2: Fix a couple of bug links that should have been updated in bug 1490658. r=jib
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: