[Webkit-unassigned] [Bug 77951] Chrome crashes when attempting to add cue to track element

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 10 10:50:43 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=77951





--- Comment #4 from Eric Carlson <eric.carlson at apple.com>  2012-02-10 10:50:43 PST ---
(In reply to comment #1)
> (In reply to comment #0)
> >     var newTrack = video.addTrack("subtitles", "French subtitles", "fr");
> >     newTrack.mode = 2;
> >     newTrack.addCue(new TextTrackCue("myId", 0.0, 20.0, "Bonjour!"));
> 
> addTrack() is now addTextTrack():
> https://bugs.webkit.org/show_bug.cgi?id=77381
> 
> I think issue is that the text track list of cues is not set to an empty list when new text track is created.

No, the issue is that the TextTrackCueList is not allocated before it is used. Allocating it when the track is created is one option, allocating it just before it is used is another.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list