summaryrefslogtreecommitdiff
path: root/fxjs/cjs_publicmethods.cpp
diff options
context:
space:
mode:
authorRyan Harrison <rharrison@chromium.org>2017-11-20 19:32:50 +0000
committerChromium commit bot <commit-bot@chromium.org>2017-11-20 19:32:50 +0000
commit9d0d7c8f35b8f3063d33a41186ea677d01748e45 (patch)
treef28a09fe3029019b614e2c3a8a8f4e7e378f32d8 /fxjs/cjs_publicmethods.cpp
parent07b4727a34d2f4aff851f0dc420faf617caca220 (diff)
downloadpdfium-9d0d7c8f35b8f3063d33a41186ea677d01748e45.tar.xz
Add regression tests for issues with correctly removing hyphens
There was a regression due to a refactor, where the public API was no longer removing soft hyphens for line broken words. This was causing issues with find and copy/paste operations that depend on selecting a region of text. This change is covered by FPDFTextEmbeddertest.GetTextWithHyphen. FPDFTextEmbeddertest.bug_782596 is a regression test for a bug that was introduced by the original fix. It only fails when running the test under ASAN. BUG=pdfium:935 Change-Id: I26096583c35f9246a3662e702f89b742f1146780 Reviewed-on: https://pdfium-review.googlesource.com/18610 Reviewed-by: Lei Zhang <thestig@chromium.org> Reviewed-by: dsinclair <dsinclair@chromium.org> Commit-Queue: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'fxjs/cjs_publicmethods.cpp')
0 files changed, 0 insertions, 0 deletions