Closed Bug 855880 Opened 12 years ago Closed 12 years ago

SDP parse error callbacks for setRemoteDescription handled on wrong thread

Categories

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

21 Branch
defect

Tracking

()

RESOLVED DUPLICATE of bug 855796

People

(Reporter: abr, Assigned: abr)

References

Details

(Whiteboard: [WebRTC] [blocking-webrtc+])

The following code will reliably cause a thread check assert to fire on debug builds:

    var pc = new mozRTCPeerConnection();

    pc.setRemoteDescription({sdp: "I don't know him.", type: "offer"},
      function() {}, function () {});
Blocks: 834270
This sounds like a perfect candidate for a test.
Flags: in-testsuite?
(In reply to Jason Smith [:jsmith] from comment #1)
> This sounds like a perfect candidate for a test.

Yep, it's in the mochi test in the patch attached to Bug 834270. Commented out at the moment, so that things actually run, but I hope to have it active by the time that patch lands.
I believe this could be a dupe of Bug 855796.  We should check as soon as that one has a patch up.
Patch to Bug 855796 seems to fix this as well.   Marking as dupe.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.