[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 11:07:30 PST 2012


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





--- Comment #5 from Arun Patole <arun.patole at motorola.com>  2012-02-10 11:07:30 PST ---
> 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.

Spec says:
The addTextTrack(kind, label, language) method of media elements, when invoked, must run the following steps:
.....
.....
4. Create a new TextTrack object.

5. Create a new text track corresponding to the new object,
....and set its text track list of cues to an empty list...

http://www.whatwg.org/specs/web-apps/current-work/#dom-media-addtexttrack

So, IMO it should set to an empty list when text track is created.

-- 
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