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

Issue 2988002: Always pass along the GAIA failure event, regardless of the local authenticat... (Closed)

Created:
10 years, 5 months ago by John Gregg
Modified:
9 years ago
CC:
chromium-reviews, Raghu Simha, ncarter (slow), ben+cc_chromium.org, tim (not reviewing), idana
Visibility:
Public.

Description

Always pass along the GAIA failure event, regardless of the local authentication condition. This is necessary since the UI is waiting for the event, and has no effect on the other listeners. BUG=19720 TEST=let server creds expire, then login with bad password; should get an error message not a hung UI Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=52257

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -9 lines) Patch
M chrome/browser/sync/engine/auth_watcher.cc View 1 chunk +2 lines, -9 lines 1 comment Download

Messages

Total messages: 6 (0 generated)
John Gregg
This seems like a too-simple fix for this problem, so perhaps I'm overlooking something, but ...
10 years, 5 months ago (2010-07-13 00:26:50 UTC) #1
chron_chromium.org
http://codereview.chromium.org/2988002/diff/1/2 File chrome/browser/sync/engine/auth_watcher.cc (right): http://codereview.chromium.org/2988002/diff/1/2#newcode219 chrome/browser/sync/engine/auth_watcher.cc:219: AuthenticateLocally(results.email, results.password)) { This seems fine as long as ...
10 years, 5 months ago (2010-07-13 00:32:53 UTC) #2
John Gregg
On 2010/07/13 00:32:53, chron_chromium.org wrote: > http://codereview.chromium.org/2988002/diff/1/2 > File chrome/browser/sync/engine/auth_watcher.cc (right): > > http://codereview.chromium.org/2988002/diff/1/2#newcode219 > ...
10 years, 5 months ago (2010-07-13 00:56:29 UTC) #3
chron_chromium.org
LGTM On Mon, Jul 12, 2010 at 5:56 PM, <johnnyg@chromium.org> wrote: > On 2010/07/13 00:32:53, ...
10 years, 5 months ago (2010-07-13 01:07:05 UTC) #4
ncarter (slow)
It looks fine (at least under the standard of "better than what was there before.") ...
10 years, 5 months ago (2010-07-13 01:08:12 UTC) #5
John Gregg
10 years, 5 months ago (2010-07-13 01:34:06 UTC) #6
On 2010/07/13 01:08:12, ncarter wrote:
> It looks fine (at least under the standard of "better than what was there
> before.") .

Yeah I know your original patch for this bug was more ambitious, but this
improves things just enough to fix the bug :)

> Do we see different error strings in the "bad password" and "server
> unreachable" cases?

Sorry, my steps were out of order.  I failed the login to exercise the codepath,
then disconnected the server.  You can't actually have a GAIA authentication
fail while disconnected, as far as i can tell, since you need the server to send
the failure.

If the server is unreachable when you try to submit credentials, it spins
forever on the login prompt (but allows you to cancel).

Powered by Google App Engine
This is Rietveld 408576698