summaryrefslogtreecommitdiff
path: root/xfa/fwl/cfwl_form.cpp
diff options
context:
space:
mode:
authorRyan Harrison <rharrison@chromium.org>2017-10-26 11:00:51 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-10-26 15:16:56 +0000
commitefc879d226e98ddad36704d78f52037ccf4369dc (patch)
tree50e4510a0ff984d339b08a7a5ea4a26fa90926db /xfa/fwl/cfwl_form.cpp
parent78b334a824c42138f5e98060638b1643b0279602 (diff)
downloadpdfium-efc879d226e98ddad36704d78f52037ccf4369dc.tar.xz
Consistently apply JS size check
This CL makes the use of CXFA_IsTooBig consistent and universal across all of the ToJavascript and related methods. Previously this method was only applied in some calls. It is now being tested as a precondition and postcondition on every call and as a post condition for the entire translation process. There are some size checks within methods that potentially generate large amounts of JS that have been left in. BUG=chromium:752920 Change-Id: I1a8bfe21e0a17c2e47592fc6017060243674f1bc Reviewed-on: https://pdfium-review.googlesource.com/16812 Commit-Queue: Ryan Harrison <rharrison@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'xfa/fwl/cfwl_form.cpp')
0 files changed, 0 insertions, 0 deletions