DescriptionHandle buffer boundaries in the WebVTT parser
Replace the somewhat ad-hoc collectNextLine method with a new helper
class - BufferedLineReader - that takes care of buffering the input
data across buffer boundaries.
While redoing the line collection, also fix the handling of NULs in the
input stream to match the spec (transform to U+FFFD).
TEST=unittest:BufferedLineReader.*
TEST=http/tests/media/track/track-webvtt-slow-loading-2.html
BUG=231460
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=161624
Patch Set 1 #
Total comments: 6
Patch Set 2 : Review issues addressed #Patch Set 3 : Fix compilation warning #
Messages
Total messages: 10 (0 generated)
|