commit | 1313fe13b918cf7b210e1a0f3b78affacede5b4f | [log] [tgz] |
---|---|---|
author | Oriol Brufau <obrufau@igalia.com> | Mon Jan 18 12:46:37 2021 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Jan 18 12:46:37 2021 |
tree | 067c59793b123b0fc993278934ad52455d0e80de | |
parent | dbe12f034f841274089756eea349387fb7a6bf04 [diff] |
[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/+/2632954 Reviewed-by: Yoshifumi Inoue <yosin@chromium.org> Commit-Queue: Oriol Brufau <obrufau@igalia.com> Cr-Commit-Position: refs/heads/master@{#844502}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.