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

Issue 11828048: [Telemetry] Fixing credentials login behaviour in case the user is already logged in and using --do… (Closed)

Created:
7 years, 11 months ago by hartmanng
Modified:
7 years, 11 months ago
Reviewers:
nduca, tonyg
CC:
chromium-reviews, chrome-speed-team+watch_google.com, pam+watch_chromium.org, telemetry+watch_chromium.org
Visibility:
Public.

Description

[Telemetry] Fixing credentials login behaviour in case the user is already logged in and using --dont-override-profile. Currently the page will timeout and fail if it's already logged in, since it doesn't see the login form. I also added a warning when users specify --dont-override-profile, and a facebook_backend_unittest.py. Note that this depends on https://codereview.chromium.org/11745002/ to work properly, since currently the extra quotes around the user-agent string will cause us to be redirected to the wrong version of accounts.google.com, so we won't correctly detect that we're logged in. BUG=160268 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=176152

Patch Set 1 #

Total comments: 4

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+107 lines, -17 lines) Patch
M tools/telemetry/telemetry/browser_backend.py View 1 2 chunks +7 lines, -0 lines 0 comments Download
M tools/telemetry/telemetry/facebook_credentials_backend.py View 1 chunk +5 lines, -1 line 0 comments Download
A + tools/telemetry/telemetry/facebook_credentials_backend_unittest.py View 3 chunks +36 lines, -8 lines 0 comments Download
M tools/telemetry/telemetry/form_based_credentials_backend.py View 5 chunks +26 lines, -7 lines 0 comments Download
M tools/telemetry/telemetry/google_credentials_backend.py View 1 chunk +5 lines, -1 line 0 comments Download
M tools/telemetry/telemetry/google_credentials_backend_unittest.py View 2 chunks +28 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
hartmanng
Please take a look.
7 years, 11 months ago (2013-01-10 17:01:36 UTC) #1
nduca
lgtm https://codereview.chromium.org/11828048/diff/1/tools/telemetry/telemetry/browser_backend.py File tools/telemetry/telemetry/browser_backend.py (right): https://codereview.chromium.org/11828048/diff/1/tools/telemetry/telemetry/browser_backend.py#newcode151 tools/telemetry/telemetry/browser_backend.py:151: logging.warning('Not overriding profile. This can cause unexpected ' ...
7 years, 11 months ago (2013-01-10 18:20:02 UTC) #2
hartmanng
Thanks! https://codereview.chromium.org/11828048/diff/1/tools/telemetry/telemetry/browser_backend.py File tools/telemetry/telemetry/browser_backend.py (right): https://codereview.chromium.org/11828048/diff/1/tools/telemetry/telemetry/browser_backend.py#newcode151 tools/telemetry/telemetry/browser_backend.py:151: logging.warning('Not overriding profile. This can cause unexpected ' ...
7 years, 11 months ago (2013-01-10 18:36:04 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hartmanng@chromium.org/11828048/4001
7 years, 11 months ago (2013-01-10 18:36:26 UTC) #4
commit-bot: I haz the power
7 years, 11 months ago (2013-01-10 21:08:28 UTC) #5
Message was sent while issue was closed.
Change committed as 176152

Powered by Google App Engine
This is Rietveld 408576698