|
Pass IJS_Runtime, not IJS_Context, to native object constructors.
This better separates the two IJS_ classes, with the IJS_Context
taking on its proper role of describing an event. There's no need
for the event details for object creation, so this gets much
cleaner.
Move some JS error reporting code from CJS_Context to CJS_Runtime.
Make InitInstance() and ExitInstance() voids, they always return
TRUE and we never check the result anyways.
R=thestig@chromium.org
Committed: https://pdfium.googlesource.com/pdfium/+/848a13b6777cbff8cc4aea3ab3d69eaa0b82ae6c
Total comments: 8
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+115 lines, -180 lines) |
Patch |
|
M |
fpdfsdk/include/javascript/IJavaScript.h
|
View
|
1
2
3
4
5
6
|
3 chunks |
+6 lines, -1 line |
0 comments
|
Download
|
|
M |
fpdfsdk/include/jsapi/fxjs_v8.h
|
View
|
1
2
3
|
4 chunks |
+7 lines, -9 lines |
0 comments
|
Download
|
|
M |
fpdfsdk/src/fsdk_actionhandler.cpp
|
View
|
1
2
3
4
|
6 chunks |
+12 lines, -73 lines |
0 comments
|
Download
|
|
M |
fpdfsdk/src/fsdk_baseform.cpp
|
View
|
1
2
3
4
5
|
5 chunks |
+4 lines, -6 lines |
0 comments
|
Download
|
|
M |
fpdfsdk/src/javascript/Document.h
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
fpdfsdk/src/javascript/Document.cpp
|
View
|
1
|
7 chunks |
+11 lines, -17 lines |
0 comments
|
Download
|
|
M |
fpdfsdk/src/javascript/Field.h
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
fpdfsdk/src/javascript/Field.cpp
|
View
|
1
|
3 chunks |
+6 lines, -12 lines |
0 comments
|
Download
|
|
M |
fpdfsdk/src/javascript/JS_Context.h
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
fpdfsdk/src/javascript/JS_Context.cpp
|
View
|
1
2
3
|
2 chunks |
+7 lines, -11 lines |
0 comments
|
Download
|
|
M |
fpdfsdk/src/javascript/JS_Define.h
|
View
|
|
1 chunk |
+8 lines, -8 lines |
0 comments
|
Download
|
|
M |
fpdfsdk/src/javascript/JS_EventHandler.cpp
|
View
|
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
fpdfsdk/src/javascript/JS_Object.h
|
View
|
1
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
fpdfsdk/src/javascript/JS_Runtime.h
|
View
|
1
2
3
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
fpdfsdk/src/javascript/JS_Runtime.cpp
|
View
|
1
2
3
4
5
6
|
2 chunks |
+13 lines, -1 line |
0 comments
|
Download
|
|
M |
fpdfsdk/src/javascript/JS_Runtime_Stub.cpp
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+7 lines, -1 line |
0 comments
|
Download
|
|
M |
fpdfsdk/src/javascript/app.cpp
|
View
|
1
2
3
|
4 chunks |
+4 lines, -7 lines |
0 comments
|
Download
|
|
M |
fpdfsdk/src/javascript/global.h
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
fpdfsdk/src/javascript/global.cpp
|
View
|
1
|
1 chunk |
+6 lines, -11 lines |
0 comments
|
Download
|
|
M |
fpdfsdk/src/jsapi/fxjs_v8.cpp
|
View
|
1
2
3
|
6 chunks |
+9 lines, -11 lines |
0 comments
|
Download
|
|
M |
fpdfsdk/src/jsapi/fxjs_v8_embeddertest.cpp
|
View
|
1
2
3
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
Total messages: 11 (1 generated)
|