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

Issue 8273024: Implemented cancel connect. (Closed)

Created:
9 years, 2 months ago by Jamie
Modified:
9 years, 2 months ago
Reviewers:
Wez
CC:
chromium-reviews, jamiewalch+watch_chromium.org, hclam+watch_chromium.org, simonmorris+watch_chromium.org, wez+watch_chromium.org, dmaclach+watch_chromium.org, garykac+watch_chromium.org, lambroslambrou+watch_chromium.org, ajwong+watch_chromium.org, sergeyu+watch_chromium.org
Visibility:
Public.

Description

Implemented cancel connect. BUG=None TEST=Manual Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=105525

Patch Set 1 #

Total comments: 6

Patch Set 2 : Use abort() to cancel prior to support id verification. #

Patch Set 3 : Fixed indentation. #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+63 lines, -25 lines) Patch
M remoting/webapp/me2mom/choice.html View 2 chunks +1 line, -6 lines 0 comments Download
M remoting/webapp/me2mom/remoting.js View 1 2 11 chunks +60 lines, -18 lines 4 comments Download
M remoting/webapp/me2mom/xhr.js View 1 2 chunks +2 lines, -1 line 0 comments Download

Messages

Total messages: 4 (0 generated)
Jamie
This CL implements cancel for the client-side web-app. Prior to a response to the support ...
9 years, 2 months ago (2011-10-13 23:30:31 UTC) #1
Wez
lgtm LGTM http://codereview.chromium.org/8273024/diff/1/remoting/webapp/me2mom/remoting.js File remoting/webapp/me2mom/remoting.js (right): http://codereview.chromium.org/8273024/diff/1/remoting/webapp/me2mom/remoting.js#newcode582 remoting/webapp/me2mom/remoting.js:582: ++remoting.sessionId; Consider tweaking the xhr.get() call to ...
9 years, 2 months ago (2011-10-14 01:21:25 UTC) #2
Jamie
http://codereview.chromium.org/8273024/diff/1/remoting/webapp/me2mom/remoting.js File remoting/webapp/me2mom/remoting.js (right): http://codereview.chromium.org/8273024/diff/1/remoting/webapp/me2mom/remoting.js#newcode582 remoting/webapp/me2mom/remoting.js:582: ++remoting.sessionId; On 2011/10/14 01:21:26, Wez wrote: > Consider tweaking ...
9 years, 2 months ago (2011-10-14 18:17:06 UTC) #3
Wez
9 years, 2 months ago (2011-10-14 18:44:02 UTC) #4
lgtm

http://codereview.chromium.org/8273024/diff/7001/remoting/webapp/me2mom/remot...
File remoting/webapp/me2mom/remoting.js (right):

http://codereview.chromium.org/8273024/diff/7001/remoting/webapp/me2mom/remot...
remoting/webapp/me2mom/remoting.js:502: if (remoting.session) {
We shouldn't even reach here if !remoting.session?

http://codereview.chromium.org/8273024/diff/7001/remoting/webapp/me2mom/remot...
remoting/webapp/me2mom/remoting.js:548: accessCode.value = '';  // The code has
been validated and won't work again.
nit: Move this comment above the var accessCode line and re-phrase e.g. "Clear
the Access Code, since it cannot be used again."?

http://codereview.chromium.org/8273024/diff/7001/remoting/webapp/me2mom/remot...
remoting/webapp/me2mom/remoting.js:586: remoting.supportHostsXhr = null;
nit: Should we check that xhr == supportHostsXhr first?

http://codereview.chromium.org/8273024/diff/7001/remoting/webapp/me2mom/remot...
remoting/webapp/me2mom/remoting.js:681: break;
nit: This might actually read better as an if...else.

Powered by Google App Engine
This is Rietveld 408576698