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

Issue 927373005: [Chromoting] Enable jscompile for browser tests. (Closed)

Created:
5 years, 10 months ago by garykac
Modified:
5 years, 10 months ago
Reviewers:
Jamie, kelvinp
CC:
chromium-reviews, chromoting-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Chromoting] Enable jscompile for browser tests. This enables JScompile for Chromoting's browsertest code and fixes all of the reported errors. This cl also includes a few minor typos and jscompile inconsistencies in the non-test code. BUG= Committed: https://crrev.com/b70d46306599857a556b2be7f2d813f3a3450edb Cr-Commit-Position: refs/heads/master@{#316982}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Add missing file; Update suppress #

Patch Set 3 : Update all_browsertest var in gyp comment #

Total comments: 15

Patch Set 4 : Review comments #

Total comments: 24

Patch Set 5 : Fix unittests; More review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+608 lines, -248 lines) Patch
M remoting/remoting_test.gypi View 1 2 3 4 4 chunks +5 lines, -10 lines 0 comments Download
M remoting/remoting_webapp.gypi View 1 2 3 4 2 chunks +21 lines, -0 lines 0 comments Download
M remoting/remoting_webapp_files.gypi View 1 2 3 4 7 chunks +93 lines, -75 lines 0 comments Download
M remoting/webapp/base/js/base.js View 1 2 3 4 3 chunks +4 lines, -4 lines 0 comments Download
M remoting/webapp/browser_test/browser_test.js View 1 2 3 4 18 chunks +119 lines, -37 lines 0 comments Download
M remoting/webapp/browser_test/bump_scroll_browser_test.js View 1 2 3 4 9 chunks +48 lines, -15 lines 0 comments Download
M remoting/webapp/browser_test/cancel_pin_browser_test.js View 1 2 3 4 2 chunks +4 lines, -1 line 0 comments Download
M remoting/webapp/browser_test/invalid_pin_browser_test.js View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M remoting/webapp/browser_test/it2me_browser_test.js View 5 chunks +24 lines, -7 lines 0 comments Download
M remoting/webapp/browser_test/mock_client_plugin.js View 2 chunks +6 lines, -0 lines 0 comments Download
M remoting/webapp/browser_test/mock_host_list_api.js View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download
M remoting/webapp/browser_test/mock_identity.js View 1 2 3 4 2 chunks +4 lines, -4 lines 0 comments Download
M remoting/webapp/browser_test/mock_oauth2_api.js View 2 chunks +2 lines, -2 lines 0 comments Download
M remoting/webapp/browser_test/mock_session_connector.js View 1 2 3 4 6 chunks +70 lines, -20 lines 0 comments Download
M remoting/webapp/browser_test/scrollbar_browser_test.js View 5 chunks +13 lines, -2 lines 0 comments Download
M remoting/webapp/browser_test/timeout_waiter.js View 3 chunks +23 lines, -29 lines 0 comments Download
M remoting/webapp/browser_test/update_pin_browser_test.js View 1 2 3 4 3 chunks +8 lines, -1 line 0 comments Download
M remoting/webapp/crd/js/client_session.js View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M remoting/webapp/crd/js/crd_connect.js View 1 chunk +1 line, -1 line 0 comments Download
M remoting/webapp/crd/js/desktop_connected_view.js View 1 2 3 4 3 chunks +14 lines, -4 lines 0 comments Download
M remoting/webapp/crd/js/session_connector.js View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M remoting/webapp/crd/js/session_connector_impl.js View 1 2 3 3 chunks +3 lines, -3 lines 0 comments Download
M remoting/webapp/js_proto/dom_proto.js View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
A remoting/webapp/js_proto/test_proto.js View 1 2 3 4 1 chunk +37 lines, -0 lines 0 comments Download
M remoting/webapp/unittests/chrome_mocks.js View 1 2 3 4 6 chunks +63 lines, -17 lines 0 comments Download
M remoting/webapp/unittests/mock_signal_strategy.js View 1 2 3 4 3 chunks +32 lines, -11 lines 0 comments Download

Messages

Total messages: 13 (4 generated)
garykac
https://codereview.chromium.org/927373005/diff/1/remoting/webapp/browser_test/mock_session_connector.js File remoting/webapp/browser_test/mock_session_connector.js (left): https://codereview.chromium.org/927373005/diff/1/remoting/webapp/browser_test/mock_session_connector.js#oldcode79 remoting/webapp/browser_test/mock_session_connector.js:79: remoting.MockSessionConnector.prototype.requestPairing = function() { Dead. Leftover from an old ...
5 years, 10 months ago (2015-02-18 00:20:37 UTC) #2
Jamie
https://codereview.chromium.org/927373005/diff/40001/remoting/webapp/browser_test/browser_test.js File remoting/webapp/browser_test/browser_test.js (right): https://codereview.chromium.org/927373005/diff/40001/remoting/webapp/browser_test/browser_test.js#newcode47 remoting/webapp/browser_test/browser_test.js:47: browserTest.automationController_ = new window.DomAutomationController(); Can you just initialize this ...
5 years, 10 months ago (2015-02-18 00:51:33 UTC) #3
garykac
https://codereview.chromium.org/927373005/diff/40001/remoting/webapp/browser_test/browser_test.js File remoting/webapp/browser_test/browser_test.js (right): https://codereview.chromium.org/927373005/diff/40001/remoting/webapp/browser_test/browser_test.js#newcode47 remoting/webapp/browser_test/browser_test.js:47: browserTest.automationController_ = new window.DomAutomationController(); On 2015/02/18 00:51:33, Jamie wrote: ...
5 years, 10 months ago (2015-02-18 02:06:49 UTC) #4
Jamie
lgtm https://codereview.chromium.org/927373005/diff/60001/remoting/webapp/browser_test/mock_identity.js File remoting/webapp/browser_test/mock_identity.js (right): https://codereview.chromium.org/927373005/diff/60001/remoting/webapp/browser_test/mock_identity.js#newcode71 remoting/webapp/browser_test/mock_identity.js:71: * @param {Function} onError This one always has ...
5 years, 10 months ago (2015-02-18 02:23:50 UTC) #6
kelvinp
https://codereview.chromium.org/927373005/diff/60001/remoting/remoting_webapp_files.gypi File remoting/remoting_webapp_files.gypi (right): https://codereview.chromium.org/927373005/diff/60001/remoting/remoting_webapp_files.gypi#newcode25 remoting/remoting_webapp_files.gypi:25: remove extra line on 25 https://codereview.chromium.org/927373005/diff/60001/remoting/remoting_webapp_files.gypi#newcode245 remoting/remoting_webapp_files.gypi:245: 'remoting_webapp_crd_main_html_js_files': [ ...
5 years, 10 months ago (2015-02-18 18:41:30 UTC) #7
garykac
https://codereview.chromium.org/927373005/diff/60001/remoting/remoting_webapp_files.gypi File remoting/remoting_webapp_files.gypi (right): https://codereview.chromium.org/927373005/diff/60001/remoting/remoting_webapp_files.gypi#newcode245 remoting/remoting_webapp_files.gypi:245: 'remoting_webapp_crd_main_html_js_files': [ On 2015/02/18 18:41:29, kelvinp wrote: > Seems ...
5 years, 10 months ago (2015-02-19 01:48:45 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/927373005/80001
5 years, 10 months ago (2015-02-19 02:02:27 UTC) #11
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 10 months ago (2015-02-19 02:59:02 UTC) #12
commit-bot: I haz the power
5 years, 10 months ago (2015-02-19 02:59:33 UTC) #13
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/b70d46306599857a556b2be7f2d813f3a3450edb
Cr-Commit-Position: refs/heads/master@{#316982}

Powered by Google App Engine
This is Rietveld 408576698