summaryrefslogtreecommitdiff
path: root/fxjs/cjs_globalvariablearray.h
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2018-04-06 17:40:45 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-04-06 17:40:45 +0000
commit2aa01f5ccbf1464b43527c1ffa6b42bafed9ebeb (patch)
treef4b29ace656a69dcfaef426b36d56b6fa27bde80 /fxjs/cjs_globalvariablearray.h
parentace80b32dab5c6eaa32cc2f23c4540a5313879a1 (diff)
downloadpdfium-2aa01f5ccbf1464b43527c1ffa6b42bafed9ebeb.tar.xz
Avoid uninitialized internal fields in V8 global objects.
V8 won't do this for us when it creates a global object under the covers off of a template with a non-zero internal field count, instead just leaving it uninitialized. We were careful to set the iternal fields on the object we explicitly create, but there are these implicitly created ones as part of making a new context that need to be handled as well. BUG: pdfium:1005 Change-Id: Ic40bafc206ec5119cbceb58f0bb725693e7ddf80 Reviewed-on: https://pdfium-review.googlesource.com/29910 Reviewed-by: dsinclair <dsinclair@chromium.org> Commit-Queue: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'fxjs/cjs_globalvariablearray.h')
0 files changed, 0 insertions, 0 deletions