commit | e67004877e6159ec0f389b34cbf0d8785253bce6 | [log] [tgz] |
---|---|---|
author | Kyungjun Lee <kyungjunlee@google.com> | Mon Apr 01 17:24:11 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Apr 01 17:24:11 2024 |
tree | cb3feef2bc40854971903cd3defa13f4f1ad80e1 | |
parent | 9c93b359f60b6e38357bc1510ee7d38ec100660a [diff] |
PDF OCR: Remove trailing whitespace in tree dump for tests OCR is subject to detect whitespace after a sentence and put it in its results, which is quite difficult for us to anticipate when. We recently observed this behavior in PDFOCRIntegrationTest after upreving the screen-ai library to version 123.6 [1]. To mitigate this unexpected behavior, remove trailing whitespace in OCR results inserted into a static text node for tests using `DumpPdfAccessibilityTree`. [1] https://crrev.com/c/5388533 AX-Relnotes: n/a. Bug: 331659257 Change-Id: I6a6a828be65710d23555452cc5dcf7913ffd400f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5401607 Reviewed-by: David Tseng <dtseng@chromium.org> Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: Kyungjun Lee <kyungjunlee@google.com> Cr-Commit-Position: refs/heads/main@{#1280752}
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.
If you found a bug, please file it at https://crbug.com/new.