[editing] Add test for null-deref in TextIteratorAlgorithm()
The change from bug 1002937 made this code trigger a null-deref in TextIteratorAlgorithm::TextIteratorAlgorithm, or a DCHECK failure in CompositeEditCommand::MoveParagraphs. It's fine now since it had to be reverted because of bug 1161370, but adding test coverage will be useful to avoid the problem when relanding the patch. Bug: 1155687 Change-Id: I8d509653ae998288ba4889f3d99014501f4e7b18 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2632954Reviewed-by:Yoshifumi Inoue <yosin@chromium.org> Commit-Queue: Oriol Brufau <obrufau@igalia.com> Cr-Commit-Position: refs/heads/master@{#844502}
Showing
Please register or sign in to comment