SegmentedString::prepend should know if the prepended string is new or previously consumed
This CL fixes the FIXME in SegmentedString::prepend partially.
This CL also fixes the test failures in upcoming CL: https://codereview.chromium.org/2121703002/
Before this CL, we messed up the m_numberOfCharactersConsumedPriorToCurrentString
counter when BackgroundHTMLInputStream is rewound for document.write inputs.
BUG=619141
Review-Url: https://codereview.chromium.org/2127043002
Cr-Commit-Position: refs/heads/master@{#404116}
4 files changed