diff options
author | Tom Sepez <tsepez@chromium.org> | 2018-10-24 00:15:53 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-10-24 00:15:53 +0000 |
commit | d86805176f390e0fec1802aae7dbbf1d1d9f53b0 (patch) | |
tree | 435f3e3fc508a0b2ca1b74e23ae50fd46a8f0c8d /LICENSE | |
parent | 61fd012d3805257021a03c42ff8e78f3fd66e768 (diff) | |
download | pdfium-d86805176f390e0fec1802aae7dbbf1d1d9f53b0.tar.xz |
Be more particular about FX objects constructed from JS
This is back-filling some more error cases from the work from
a few weeks ago.
Replaces a lambda with a static CallHandler() method since the
verbosity was increasing. It gets invoked if you try to make a new
FXJS object from the javascript side, rather than the C++ side.
Making such an object is a little tricky, since we don't give
these functions names in V8, but they can be obtained via constructor
property from an instance of the object.
Change-Id: Ibca686e75338ac54d08a114f36f930cd424a1eb5
Reviewed-on: https://pdfium-review.googlesource.com/c/44534
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions