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

Issue 551293004: Mojo JS validation unit test should check Connection et al (Closed)

Created:
6 years, 3 months ago by hansmuller
Modified:
6 years, 3 months ago
Reviewers:
yzshen1
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Mojo JS validation unit test should check Connection et al Replaced the test for validation of requests and responses with one that relies on the Connection et al classes to set up the validators and deliver messages. BUG=413303 Committed: https://crrev.com/d593dea8e8578f554e80c9254d77259ff0d6e122 Cr-Commit-Position: refs/heads/master@{#294924}

Patch Set 1 #

Total comments: 9

Patch Set 2 : Updated per review feedback #

Total comments: 2

Patch Set 3 : JS formatting tweak. #

Patch Set 4 : Fixed GN build #

Unified diffs Side-by-side diffs Delta from patch set Stats (+150 lines, -24 lines) Patch
M mojo/mojo_public_tests.gypi View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M mojo/public/js/bindings/connection.js View 1 2 chunks +21 lines, -3 lines 0 comments Download
M mojo/public/js/bindings/connector.js View 1 1 chunk +17 lines, -0 lines 0 comments Download
M mojo/public/js/bindings/router.js View 1 2 4 chunks +34 lines, -5 lines 0 comments Download
M mojo/public/js/bindings/tests/BUILD.gn View 1 2 3 1 chunk +4 lines, -3 lines 0 comments Download
M mojo/public/js/bindings/tests/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M mojo/public/js/bindings/tests/run_js_tests.cc View 3 chunks +4 lines, -0 lines 0 comments Download
M mojo/public/js/bindings/validation_unittests.js View 1 4 chunks +67 lines, -13 lines 0 comments Download

Messages

Total messages: 21 (8 generated)
hansmuller
PTAL when you get a chance.
6 years, 3 months ago (2014-09-12 23:03:31 UTC) #2
yzshen1
https://codereview.chromium.org/551293004/diff/1/mojo/mojo_public_tests.gypi File mojo/mojo_public_tests.gypi (right): https://codereview.chromium.org/551293004/diff/1/mojo/mojo_public_tests.gypi#newcode220 mojo/mojo_public_tests.gypi:220: 'mojo_environment_standalone', Please order them alphabetically. https://codereview.chromium.org/551293004/diff/1/mojo/public/js/bindings/validation_unittests.js File mojo/public/js/bindings/validation_unittests.js (right): ...
6 years, 3 months ago (2014-09-15 07:08:41 UTC) #3
hansmuller
Thanks for the feedback, I've made the suggested changes. https://codereview.chromium.org/551293004/diff/1/mojo/mojo_public_tests.gypi File mojo/mojo_public_tests.gypi (right): https://codereview.chromium.org/551293004/diff/1/mojo/mojo_public_tests.gypi#newcode220 mojo/mojo_public_tests.gypi:220: ...
6 years, 3 months ago (2014-09-15 16:25:26 UTC) #4
yzshen1
Thanks, Hans. LGTM with one nit. https://codereview.chromium.org/551293004/diff/1/mojo/public/js/bindings/validation_unittests.js File mojo/public/js/bindings/validation_unittests.js (right): https://codereview.chromium.org/551293004/diff/1/mojo/public/js/bindings/validation_unittests.js#newcode304 mojo/public/js/bindings/validation_unittests.js:304: var waitToReadMore = ...
6 years, 3 months ago (2014-09-15 17:32:19 UTC) #5
hansmuller
I've updated the indents. Will commit! https://codereview.chromium.org/551293004/diff/20001/mojo/public/js/bindings/router.js File mojo/public/js/bindings/router.js (right): https://codereview.chromium.org/551293004/diff/20001/mojo/public/js/bindings/router.js#newcode127 mojo/public/js/bindings/router.js:127: function(message, error) { ...
6 years, 3 months ago (2014-09-15 18:07:34 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/551293004/40001
6 years, 3 months ago (2014-09-15 19:16:40 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_rel on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_rel/builds/15624)
6 years, 3 months ago (2014-09-15 20:11:58 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/551293004/40001
6 years, 3 months ago (2014-09-15 20:40:40 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_rel on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_rel/builds/15666)
6 years, 3 months ago (2014-09-15 21:00:14 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/551293004/60001
6 years, 3 months ago (2014-09-15 22:03:58 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/551293004/60001
6 years, 3 months ago (2014-09-15 22:39:32 UTC) #19
commit-bot: I haz the power
Committed patchset #4 (id:60001) as 18e8959d63b20f53833bdb9edbc688cd37d2e4f3
6 years, 3 months ago (2014-09-15 23:41:03 UTC) #20
commit-bot: I haz the power
6 years, 3 months ago (2014-09-15 23:48:29 UTC) #21
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/d593dea8e8578f554e80c9254d77259ff0d6e122
Cr-Commit-Position: refs/heads/master@{#294924}

Powered by Google App Engine
This is Rietveld 408576698