Closed Bug 925226 Opened 11 years ago Closed 11 years ago

Bogus downcast in signaling_unittest

Categories

(Core :: WebRTC, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla27

People

(Reporter: ekr, Assigned: ekr)

Details

Attachments

(1 file)

Attached patch FixSplinter Review
CloseSendStreams() assumes that the target stream is a Fake_AudioSourceStream() but this is not always so if you make a Fake_DOMMediaStream() with no base stream. This can cause crashes in the tests, esp. under ASan
Comment on attachment 815218 [details] [diff] [review]
Fix

Review of attachment 815218 [details] [diff] [review]:
-----------------------------------------------------------------

r+ from abr over IRC.
Attachment #815218 - Flags: review+
Comment on attachment 815218 [details] [diff] [review]
Fix

Review of attachment 815218 [details] [diff] [review]:
-----------------------------------------------------------------

r+ from abr over IRC.
Attachment #815218 - Flags: checkin?
https://hg.mozilla.org/mozilla-central/rev/3cca295fd212
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla27
Comment on attachment 815218 [details] [diff] [review]
Fix

Please just use checkin-needed unless there are multiple patches landing at different times.
Attachment #815218 - Flags: checkin? → checkin+
Assignee: nobody → ekr
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: