Kill off some dodgy JS callbacks
authorTom Sepez <tsepez@chromium.org>
Thu, 5 Feb 2015 23:27:25 +0000 (15:27 -0800)
committerTom Sepez <tsepez@chromium.org>
Thu, 5 Feb 2015 23:27:25 +0000 (15:27 -0800)
commitc6ab1725213a487838cbe03cb08cb5cac4ad956a
tree9b736199673b73677054307794b62165c72f03f1
parentdbe2a8e6ac3d92edf640ed10a6d4a0e658bc35c5
Kill off some dodgy JS callbacks

None of these are currently reachable because the IsSafeMode
method always returns true.  This, in turn, will let us kill
off some file (as in fopen()) based parsing. That, in turn,
will let us kill of some more now-unreachable code.

In general, we don't want to have unsafe modes.

BUG=https://code.google.com/p/pdfium/issues/detail?id=116
R=jam@chromium.org

Review URL: https://codereview.chromium.org/883393007
core/include/fpdfapi/fpdf_parser.h
core/src/fpdfapi/fpdf_parser/fpdf_parser_fdf.cpp
fpdfsdk/include/fsdk_baseform.h
fpdfsdk/include/fsdk_mgr.h
fpdfsdk/include/javascript/JS_Object.h
fpdfsdk/include/javascript/app.h
fpdfsdk/src/fsdk_baseform.cpp
fpdfsdk/src/javascript/Document.cpp
fpdfsdk/src/javascript/JS_Object.cpp
fpdfsdk/src/javascript/app.cpp
fpdfsdk/src/javascript/report.cpp