Changeset 153086 in webkit
- Timestamp:
- Jul 24, 2013 8:44:51 AM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r153072 r153086 1 2013-07-24 Brendan Long <b.long@cablelabs.com> 2 3 WebVTTParser's identifier buffering can ignore subsequent lines 4 https://bugs.webkit.org/show_bug.cgi?id=118483 5 6 Reviewed by Eric Carlson. 7 8 No new tests since this bug can't be reproduced in layout tests. 9 10 * html/track/WebVTTParser.cpp: 11 (WebCore::WebVTTParser::parseBytes): Only buffer the identifier if we haven't read an entire line. 12 1 13 2013-07-23 Andreas Kling <akling@apple.com> 2 14 -
trunk/Source/WebCore/html/track/WebVTTParser.cpp
r152741 r153086 152 152 switch (m_state) { 153 153 case Initial: 154 // Buffer up at least 9 bytes before proceeding with checking for the file identifier.154 // Buffer up at least 9 bytes or a full line before proceeding with checking for the file identifier. 155 155 m_identifierData.append(data, length); 156 if ( m_identifierData.size() < bomLength + fileIdentifierLength)156 if (position == line.sizeInBytes() && m_identifierData.size() < bomLength + fileIdentifierLength) 157 157 return; 158 158
Note: See TracChangeset
for help on using the changeset viewer.