DescriptionFix BOM handling w/ bookmark + streaming parsing.
Previously, resetting a bookmark in a file with BOM would not account for
the BOM length, meaning the parser would be off by 2 (UCS2) or 3 (UTF-8)
bytes. Additional information in the comments and in the referenced bug.
It's not an off-by-1 error, it's an off-by-O(1) error.
R=jochen@chromium.org
BUG=527930
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=201915
Patch Set 1 #
Messages
Total messages: 5 (1 generated)
|