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

Issue 1139543002: [Chromoting] Show any startup errors in the LoadingWindow. (Closed)

Created:
5 years, 7 months ago by garykac
Modified:
5 years, 7 months ago
Reviewers:
Dan Beam, Jamie
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] Show any startup errors in the LoadingWindow. Show any connection errors during startup in the LoadingWindow rather than creating a new error window for the error. This cl also adds a new updateErrorMessage method to the MessageWindow to update the message and reset the message window as appropriate for an error message (disabling the spinner, updating the button label). BUG= Committed: https://crrev.com/d44e8a774ce99a89c350d10d5b3f9f644eb0c3d1 Cr-Commit-Position: refs/heads/master@{#330022}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Merge 'show' and 'update' window commands #

Total comments: 7

Patch Set 3 : Check types for optional fields. #

Total comments: 8

Patch Set 4 : Add missing args #

Patch Set 5 : Address review comments #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+132 lines, -93 lines) Patch
M remoting/webapp/app_remoting/js/app_remoting_activity.js View 2 chunks +3 lines, -3 lines 0 comments Download
M remoting/webapp/base/js/message_window.js View 1 2 2 chunks +85 lines, -85 lines 1 comment Download
M remoting/webapp/base/js/message_window_helper.js View 1 2 2 chunks +28 lines, -1 line 0 comments Download
M remoting/webapp/base/js/typecheck.js View 1 2 3 4 3 chunks +16 lines, -4 lines 0 comments Download

Messages

Total messages: 18 (4 generated)
garykac
5 years, 7 months ago (2015-05-09 00:55:03 UTC) #2
Jamie
https://codereview.chromium.org/1139543002/diff/1/remoting/webapp/base/js/message_window.js File remoting/webapp/base/js/message_window.js (right): https://codereview.chromium.org/1139543002/diff/1/remoting/webapp/base/js/message_window.js#newcode152 remoting/webapp/base/js/message_window.js:152: case 'update_message': How about renaming this message 'update' and ...
5 years, 7 months ago (2015-05-09 01:17:00 UTC) #3
garykac
5 years, 7 months ago (2015-05-11 21:33:43 UTC) #4
garykac
https://codereview.chromium.org/1139543002/diff/1/remoting/webapp/base/js/message_window.js File remoting/webapp/base/js/message_window.js (right): https://codereview.chromium.org/1139543002/diff/1/remoting/webapp/base/js/message_window.js#newcode152 remoting/webapp/base/js/message_window.js:152: case 'update_message': On 2015/05/09 01:17:00, Jamie wrote: > How ...
5 years, 7 months ago (2015-05-11 21:34:16 UTC) #5
Jamie
https://codereview.chromium.org/1139543002/diff/20001/remoting/webapp/base/js/message_window.js File remoting/webapp/base/js/message_window.js (right): https://codereview.chromium.org/1139543002/diff/20001/remoting/webapp/base/js/message_window.js#newcode86 remoting/webapp/base/js/message_window.js:86: // all optional for the 'update' command. I think ...
5 years, 7 months ago (2015-05-11 22:54:53 UTC) #6
garykac
ptal https://codereview.chromium.org/1139543002/diff/20001/remoting/webapp/base/js/message_window.js File remoting/webapp/base/js/message_window.js (right): https://codereview.chromium.org/1139543002/diff/20001/remoting/webapp/base/js/message_window.js#newcode86 remoting/webapp/base/js/message_window.js:86: // all optional for the 'update' command. On ...
5 years, 7 months ago (2015-05-13 22:05:27 UTC) #7
Jamie
LGTM with nits. https://codereview.chromium.org/1139543002/diff/20001/remoting/webapp/base/js/message_window.js File remoting/webapp/base/js/message_window.js (right): https://codereview.chromium.org/1139543002/diff/20001/remoting/webapp/base/js/message_window.js#newcode137 remoting/webapp/base/js/message_window.js:137: 'click', this.sendReply_.bind(this, event.source, messageId, 0), false); ...
5 years, 7 months ago (2015-05-13 23:43:18 UTC) #8
garykac
https://codereview.chromium.org/1139543002/diff/40001/remoting/webapp/base/js/message_window.js File remoting/webapp/base/js/message_window.js (right): https://codereview.chromium.org/1139543002/diff/40001/remoting/webapp/base/js/message_window.js#newcode106 remoting/webapp/base/js/message_window.js:106: if (isString(title)) { On 2015/05/13 23:43:17, Jamie wrote: > ...
5 years, 7 months ago (2015-05-15 01:29:36 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1139543002/80001
5 years, 7 months ago (2015-05-15 01:30:43 UTC) #12
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 7 months ago (2015-05-15 02:14:27 UTC) #13
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/d44e8a774ce99a89c350d10d5b3f9f644eb0c3d1 Cr-Commit-Position: refs/heads/master@{#330022}
5 years, 7 months ago (2015-05-15 02:15:09 UTC) #14
Dan Beam
https://codereview.chromium.org/1139543002/diff/80001/remoting/webapp/base/js/message_window.js File remoting/webapp/base/js/message_window.js (right): https://codereview.chromium.org/1139543002/diff/80001/remoting/webapp/base/js/message_window.js#newcode96 remoting/webapp/base/js/message_window.js:96: isBoolean(showSpinner, optionalFieldUpdate) { you're missing a closing ) here ...
5 years, 7 months ago (2015-05-15 06:15:02 UTC) #16
Dan Beam
A revert of this CL (patchset #5 id:80001) has been created in https://codereview.chromium.org/1144593002/ by dbeam@chromium.org. ...
5 years, 7 months ago (2015-05-15 06:20:20 UTC) #17
garykac
5 years, 7 months ago (2015-05-15 21:29:23 UTC) #18
Message was sent while issue was closed.
On 2015/05/15 06:20:20, Dan Beam wrote:
> A revert of this CL (patchset #5 id:80001) has been created in
> https://codereview.chromium.org/1144593002/ by mailto:dbeam@chromium.org.
> 
> The reason for reverting is: Syntax error in the JS, breaking the closure bot
> and almost surely doesn't work well/breaking something in remoting.
>
http://build.chromium.org/p/chromium.fyi/builders/Closure%20Compilation%20Lin....

I was running JS compile over AppRemoting instead of DesktopRemoting, so I
wasn't actually running it over the correct code :-(

Powered by Google App Engine
This is Rietveld 408576698