|
Porting ppapi_tests framework to postMessage.
Some tests still rely on scripting, so we changed to using InstancePrivate (since scripting will disappear from Instance soon). Also use conditional compilation so that if compiled as untrusted with NaCl, the tests use Instance instead of InstancePrivate. This means that tests which rely on scripting aren't runnable in NaCl.
I also added a gyp option: pepper_scripting. The default is that scripting is on in this CL, but it will make it easy to turn it off in local builds. Soon we'll switch the default to no scripting, and soon after we can remove the option entirely.
BUG= 82606
TEST=these tests
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=91859
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+178 lines, -37 lines) |
Patch |
 |
M |
build/common.gypi
|
View
|
1
2
3
|
2 chunks |
+9 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/test/ui/ppapi_uitest.cc
|
View
|
1
2
3
4
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ppapi/proxy/dispatcher.cc
|
View
|
1
2
3
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
ppapi/proxy/ppapi_proxy_test.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
ppapi/proxy/ppb_instance_proxy.h
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
ppapi/proxy/ppb_instance_proxy.cc
|
View
|
1
2
3
|
3 chunks |
+15 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ppapi/tests/test_case.h
|
View
|
1
2
|
5 chunks |
+13 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ppapi/tests/test_case.cc
|
View
|
|
2 chunks |
+7 lines, -6 lines |
0 comments
|
Download
|
 |
M |
ppapi/tests/test_case.html
|
View
|
1
|
2 chunks |
+65 lines, -1 line |
0 comments
|
Download
|
 |
M |
ppapi/tests/test_post_message.cc
|
View
|
|
1 chunk |
+9 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ppapi/tests/test_url_util.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ppapi/tests/test_var_deprecated.h
|
View
|
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ppapi/tests/test_var_deprecated.cc
|
View
|
|
4 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ppapi/tests/testing_instance.h
|
View
|
|
4 chunks |
+24 lines, -1 line |
0 comments
|
Download
|
 |
M |
ppapi/tests/testing_instance.cc
|
View
|
1
|
7 chunks |
+20 lines, -17 lines |
0 comments
|
Download
|
Total messages: 7 (0 generated)
|