Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(541)

Issue 7312008: Porting ppapi_tests framework to postMessage. (Closed)

Created:
9 years, 5 months ago by dmichael (off chromium)
Modified:
9 years, 5 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

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

Patch Set 1 : fix bad file #

Patch Set 2 : Fix SetCookie #

Total comments: 4

Patch Set 3 : Fix PPB_Messaging proxy, address review comment #

Patch Set 4 : merge #

Patch Set 5 : Disable Scrollbar test on Mac for now, merge #

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

Messages

Total messages: 7 (0 generated)
dmichael (off chromium)
9 years, 5 months ago (2011-07-06 17:32:13 UTC) #1
sehr (please use chromium)
On 2011/07/06 17:32:13, dmichael1 wrote: LGTM.
9 years, 5 months ago (2011-07-07 00:56:13 UTC) #2
cstefansen
Minor questions/comments. http://codereview.chromium.org/7312008/diff/4001/ppapi/tests/test_case.h File ppapi/tests/test_case.h (right): http://codereview.chromium.org/7312008/diff/4001/ppapi/tests/test_case.h#newcode86 ppapi/tests/test_case.h:86: pp::VarPrivate test_object_; #if !(defined __native_client__) ? http://codereview.chromium.org/7312008/diff/4001/ppapi/tests/test_case.html ...
9 years, 5 months ago (2011-07-07 18:03:09 UTC) #3
dmichael (off chromium)
Comments addressed, and I think this fixes the out-of-process tests (turns out PPB_Messaging proxy wasn't ...
9 years, 5 months ago (2011-07-07 21:17:59 UTC) #4
brettw
LGTM
9 years, 5 months ago (2011-07-07 21:32:22 UTC) #5
cstefansen
LGTM provided you verify that tests/ppapi_tests work on the NaCl side with this patched into ...
9 years, 5 months ago (2011-07-07 21:41:12 UTC) #6
dmichael (off chromium)
9 years, 5 months ago (2011-07-08 16:29:00 UTC) #7
I had to disable the Scrollbar test on Mac for now. The scrollbar itself is not
broken, just the test; it must be some weird timing issue.
crbug.com/88754
I wanted to unblock sehr's scripting removal, since it's going to take me a
while to get a chromium build on mac again to figure out the problem.

Powered by Google App Engine
This is Rietveld 408576698