Bug 95691

Summary: GetCueAsHTML returns truncated content
Product: WebKit Reporter: Cyril Concolato <cconcolato>
Component: MediaAssignee: Nobody <webkit-unassigned>
Status: UNCONFIRMED    
Severity: Normal CC: annacc, b.long, eric.carlson, vcarbune
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Windows 7   
URL: http://perso.telecom-paristech.fr/~concolat/html5_tests/getcueasSVG.html
Bug Depends on:    
Bug Blocks: 43668    

Cyril Concolato
Reported 2012-09-03 07:41:42 PDT
I'm using WebVTT metadata tracks to carry SVG content. At a given time, only one cue is active. I'm getting the text using getCueAsHTML but sometimes I have a weird behavior: there are 2 active cues and one of them has truncated text.
Attachments
Eric Carlson
Comment 1 2012-09-06 11:04:13 PDT
This may be related to https://bugs.webkit.org/show_bug.cgi?id=94651. Please retest once that patch makes it into a nightly.
Brendan Long
Comment 2 2013-09-23 15:49:33 PDT
WebVTTParser doesn't do any buffering except for the first line, so if your web server sends a cue in two parts, it will ignore the second half of the cue.
Eric Carlson
Comment 3 2013-09-23 16:33:02 PDT
The patch attached to https://bugs.webkit.org/show_bug.cgi?id=81123 might fix this, but it needs to be rebased and tested.
Note You need to log in before you can comment on or make changes to this bug.