diff options
author | Tom Sepez <tsepez@chromium.org> | 2015-11-10 15:03:12 -0800 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2015-11-10 15:03:12 -0800 |
commit | 4f4603cc1b498bca3b1619006137e50ce80088c1 (patch) | |
tree | 9465160bf90344204f90e89e2df5a6698aba1135 /test | |
parent | ec0fbd3c334a09b9c9da781e3e1dffbce9bf0733 (diff) | |
download | pdfium-4f4603cc1b498bca3b1619006137e50ce80088c1.tar.xz |
Segv when PDF-side JS object property getter invoked from XFA.
The PDF-side native objects require that the current v8 context
has been set-up to point at the state (via CJS_Runtime) for the
getters, setters, and methods to operate against. XFA doesn't
supply a context with that state, so at the first opportunity for
a PDF-side object to be leaked to XFA, set up the context to mimic
the PDF side.
Changed FXJS_GetRuntimeFromIsolate() to FXJS_GetRuntimeFromV8Context()
for consistency with the newly added method.
BUG=pdfium:266
R=jochen@chromium.org
Review URL: https://codereview.chromium.org/1412103010 .
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions