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

Issue 2734783008: Moves mojo_js_integration_tests into blink. (Closed)

Created:
3 years, 9 months ago by alokp
Modified:
3 years, 6 months ago
CC:
Aaron Boodman, abarth-chromium, blink-reviews, chromium-reviews, darin (slow to review), qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, Ken Rockot(use gerrit already), dcheng
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Moves mojo_js_integration_tests into blink. BUG=699569 Review-Url: https://codereview.chromium.org/2734783008 Cr-Commit-Position: refs/heads/master@{#477549} Committed: https://chromium.googlesource.com/chromium/src/+/dd57fa764813de09d159a232eeef1bb21b0ccc1e

Patch Set 1 #

Patch Set 2 : cleanup #

Patch Set 3 : rebase #

Patch Set 4 : progress #

Patch Set 5 : presubmit passes #

Patch Set 6 : Ping passess #

Total comments: 2

Patch Set 7 : cleanup #

Patch Set 8 : all tests pass #

Total comments: 10

Patch Set 9 : adds datadeps on non-blink mojom #

Total comments: 5

Patch Set 10 : rebase #

Patch Set 11 : addressed comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+216 lines, -993 lines) Patch
M mojo/edk/js/tests/BUILD.gn View 1 2 3 1 chunk +0 lines, -34 lines 0 comments Download
D mojo/edk/js/tests/js_to_cpp.mojom View 1 2 1 chunk +0 lines, -60 lines 0 comments Download
D mojo/edk/js/tests/js_to_cpp_tests.cc View 1 2 1 chunk +0 lines, -459 lines 0 comments Download
D mojo/edk/js/tests/js_to_cpp_tests.js View 1 2 1 chunk +0 lines, -215 lines 0 comments Download
M testing/buildbot/chromium.linux.json View 1 2 3 4 5 6 7 8 9 2 chunks +0 lines, -12 lines 0 comments Download
M testing/buildbot/client.v8.chromium.json View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -6 lines 0 comments Download
M testing/buildbot/gn_isolate_map.pyl View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/BUILD.gn View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/mojo/BUILD.gn View 1 2 3 4 5 6 7 8 2 chunks +37 lines, -0 lines 0 comments Download
A + third_party/WebKit/Source/core/mojo/tests/JsToCpp.mojom View 0 chunks +-1 lines, --1 lines 0 comments Download
A + third_party/WebKit/Source/core/mojo/tests/JsToCppTest.cpp View 1 2 3 4 5 6 7 8 9 10 14 chunks +141 lines, -165 lines 0 comments Download
A + third_party/WebKit/Source/core/mojo/tests/JsToCppTest.js View 1 2 3 4 5 6 7 10 chunks +27 lines, -37 lines 0 comments Download
A third_party/WebKit/Source/core/mojo/tests/OWNERS View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/testing/UnitTestHelpers.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/testing/UnitTestHelpers.cpp View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M tools/determinism/deterministic_build_whitelist.pyl View 1 2 3 4 5 6 7 8 2 chunks +0 lines, -2 lines 0 comments Download

Messages

Total messages: 34 (21 generated)
alokp
https://codereview.chromium.org/2734783008/diff/100001/third_party/WebKit/Source/core/mojo/tests/JsToCppTest.cpp File third_party/WebKit/Source/core/mojo/tests/JsToCppTest.cpp (right): https://codereview.chromium.org/2734783008/diff/100001/third_party/WebKit/Source/core/mojo/tests/JsToCppTest.cpp#newcode86 third_party/WebKit/Source/core/mojo/tests/JsToCppTest.cpp:86: MojoResult result = Wait(message_pipe_handle, MOJO_HANDLE_SIGNAL_READABLE); result == MOJO_RESULT_INVALID_ARGUMENT here ...
3 years, 6 months ago (2017-06-02 23:49:58 UTC) #3
alokp
I figured out the problem. JS-side was writing to incorrect member variables for EchoArgs because ...
3 years, 6 months ago (2017-06-04 00:05:49 UTC) #8
jbroman
On 2017/06/04 at 00:05:49, alokp wrote: > I figured out the problem. JS-side was writing ...
3 years, 6 months ago (2017-06-05 15:53:06 UTC) #11
alokp
On 2017/06/05 15:53:06, jbroman wrote: > On 2017/06/04 at 00:05:49, alokp wrote: > > I ...
3 years, 6 months ago (2017-06-05 17:26:26 UTC) #12
yzshen1
LGTM with a few nits. Thanks! https://codereview.chromium.org/2734783008/diff/130013/mojo/edk/js/tests/BUILD.gn File mojo/edk/js/tests/BUILD.gn (left): https://codereview.chromium.org/2734783008/diff/130013/mojo/edk/js/tests/BUILD.gn#oldcode23 mojo/edk/js/tests/BUILD.gn:23: test("mojo_js_integration_tests") { This ...
3 years, 6 months ago (2017-06-05 17:33:26 UTC) #13
alokp
Dirk: testing/ and one question for you in comments about datadeps. Thanks! Jeremy: I am ...
3 years, 6 months ago (2017-06-05 18:53:29 UTC) #17
jbroman
lgtm modulo the below comments and the ones already raised https://codereview.chromium.org/2734783008/diff/130013/third_party/WebKit/Source/core/mojo/tests/JsToCppTest.cpp File third_party/WebKit/Source/core/mojo/tests/JsToCppTest.cpp (right): https://codereview.chromium.org/2734783008/diff/130013/third_party/WebKit/Source/core/mojo/tests/JsToCppTest.cpp#newcode366 ...
3 years, 6 months ago (2017-06-06 20:14:08 UTC) #20
alokp
https://codereview.chromium.org/2734783008/diff/130013/third_party/WebKit/Source/core/mojo/tests/JsToCppTest.cpp File third_party/WebKit/Source/core/mojo/tests/JsToCppTest.cpp (right): https://codereview.chromium.org/2734783008/diff/130013/third_party/WebKit/Source/core/mojo/tests/JsToCppTest.cpp#newcode366 third_party/WebKit/Source/core/mojo/tests/JsToCppTest.cpp:366: page_holder_->GetPage().GetSettings().SetScriptEnabled(true); On 2017/06/06 20:14:08, jbroman wrote: > V8TestingScope will ...
3 years, 6 months ago (2017-06-06 23:52:23 UTC) #21
alokp
dpranke: testing/
3 years, 6 months ago (2017-06-06 23:54:27 UTC) #24
Dirk Pranke
lgtm
3 years, 6 months ago (2017-06-07 01:14:13 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2734783008/190001
3 years, 6 months ago (2017-06-07 04:22:09 UTC) #30
commit-bot: I haz the power
Committed patchset #11 (id:190001) as https://chromium.googlesource.com/chromium/src/+/dd57fa764813de09d159a232eeef1bb21b0ccc1e
3 years, 6 months ago (2017-06-07 04:27:15 UTC) #33
jwd
3 years, 6 months ago (2017-06-07 15:20:00 UTC) #34
Message was sent while issue was closed.
A revert of this CL (patchset #11 id:190001) has been created in
https://codereview.chromium.org/2926143002/ by jwd@chromium.org.

The reason for reverting is: Seems related to webkit failures of the JsToCpp
tests. E.x.
https://build.chromium.org/p/chromium.webkit/builders/WebKit%20Mac10.10/build....

Powered by Google App Engine
This is Rietveld 408576698