Closed Bug 957847 Opened 12 years ago Closed 12 years ago

VTTCue crash [@ mozilla::dom::TextTrack::AddCue]

Categories

(Core :: Audio/Video, defect)

x86_64
macOS
defect
Not set
critical

Tracking

()

VERIFIED FIXED
mozilla29

People

(Reporter: jruderman, Assigned: reyre)

References

Details

(Keywords: crash, testcase)

Crash Data

Attachments

(3 files)

No description provided.
Attached file stack
Assignee: nobody → rick.eyre
Problem was that TextTracks don't always have an HTMLMediaElement, like in this case.
Attachment #8360468 - Flags: review?(giles)
Comment on attachment 8360468 [details] [diff] [review] v1: Fix VTTCue crash at TextTrackCue::AddCue r=rillian Review of attachment 8360468 [details] [diff] [review]: ----------------------------------------------------------------- If the track is later parented to the media element, does AddCue get called then?
Attachment #8360468 - Flags: review?(giles) → review+
(In reply to Ralph Giles (:rillian) from comment #3) > Comment on attachment 8360468 [details] [diff] [review] Thanks for review Ralph. > v1: Fix VTTCue crash at TextTrackCue::AddCue r=rillian > > Review of attachment 8360468 [details] [diff] [review]: > ----------------------------------------------------------------- > > If the track is later parented to the media element, does AddCue get called > then? I don't think so. I'm not sure we would need to do it. It depends on if the algorithm that loads the text track calls for it to be added to one of the other cue or text track lists. That's something we've only partially tackled with adding the pending text track list and new cue list. I'll open a bug to follow up looking more deeply into that though.
Follow up bug 960184.
Looks green.
Keywords: checkin-needed
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla29
Reproduced in Nightly 2014-01-08. Verified fixed 29.0a1 (2014-01-17), win 7 x64
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: