RESOLVED FIXED 115821
TextTrackCue should support empty content
https://bugs.webkit.org/show_bug.cgi?id=115821
Summary TextTrackCue should support empty content
Eric Carlson
Reported 2013-05-08 13:09:11 PDT
'new TextTrackCue(start, end, "")' is valid but it currently creates a cue that causes WebKit to crash. Don't do that.
Attachments
Proposed patch (6.29 KB, patch)
2013-05-08 13:19 PDT, Eric Carlson
no flags
Radar WebKit Bug Importer
Comment 1 2013-05-08 13:09:42 PDT
Eric Carlson
Comment 2 2013-05-08 13:19:57 PDT
Created attachment 201101 [details] Proposed patch
Jer Noble
Comment 3 2013-05-08 13:25:56 PDT
Comment on attachment 201101 [details] Proposed patch Null checks are awesome.
WebKit Commit Bot
Comment 4 2013-05-08 13:52:43 PDT
Comment on attachment 201101 [details] Proposed patch Clearing flags on attachment: 201101 Committed r149766: <http://trac.webkit.org/changeset/149766>
WebKit Commit Bot
Comment 5 2013-05-08 13:52:45 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.