|
Remove unused nParamNum values from JS method tables.
The code to validate the number of parameters happens inside each particular
method, rather than prior to method dispatch. As such, there's no point in
having this number take up space in the table.
Add some test to cover at least some of the per-method validations, and
update error messages to be more useful.
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+646 lines, -189 lines) |
Patch |
|
M |
fpdfsdk/include/javascript/JS_Define.h
|
View
|
|
6 chunks |
+6 lines, -8 lines |
0 comments
|
Download
|
|
M |
fpdfsdk/include/javascript/resource.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
fpdfsdk/include/jsapi/fxjs_v8.h
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
fpdfsdk/src/javascript/Document.cpp
|
View
|
1
2
3
|
10 chunks |
+104 lines, -94 lines |
1 comment
|
Download
|
|
M |
fpdfsdk/src/javascript/Field.cpp
|
View
|
|
1 chunk |
+26 lines, -26 lines |
0 comments
|
Download
|
|
M |
fpdfsdk/src/javascript/PublicMethods.cpp
|
View
|
|
1 chunk |
+22 lines, -22 lines |
0 comments
|
Download
|
|
M |
fpdfsdk/src/javascript/app.cpp
|
View
|
|
1 chunk |
+21 lines, -21 lines |
0 comments
|
Download
|
|
M |
fpdfsdk/src/javascript/color.cpp
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
fpdfsdk/src/javascript/console.cpp
|
View
|
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
fpdfsdk/src/javascript/global.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
fpdfsdk/src/javascript/report.cpp
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
fpdfsdk/src/javascript/resource.cpp
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
fpdfsdk/src/javascript/util.cpp
|
View
|
|
1 chunk |
+5 lines, -5 lines |
0 comments
|
Download
|
|
M |
fpdfsdk/src/jsapi/fxjs_v8.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
A |
testing/resources/javascript/document_methods.in
|
View
|
|
1 chunk |
+340 lines, -0 lines |
0 comments
|
Download
|
|
A |
testing/resources/javascript/document_methods_expected.txt
|
View
|
1
|
1 chunk |
+103 lines, -0 lines |
0 comments
|
Download
|
Total messages: 9 (2 generated)
|