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

Issue 1123183005: Respect opt_scopes in getNewToken. (Closed)

Created:
5 years, 7 months ago by Jamie
Modified:
5 years, 7 months ago
Reviewers:
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

Respect opt_scopes in getNewToken. Without this, the downscoped token was being revoked, but the call to get a fresh one was returning the cached non-downscoped token. Also adds an assert to catch regressions. BUG=b/20662147 Committed: https://crrev.com/c7cd74f28ffab679477ca8ef41e9e27b9ceea9d3 Cr-Commit-Position: refs/heads/master@{#329711}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -1 line) Patch
M remoting/webapp/app_remoting/js/app_connected_view.js View 1 1 chunk +6 lines, -0 lines 0 comments Download
M remoting/webapp/base/js/identity.js View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 14 (6 generated)
Jamie
ptal
5 years, 7 months ago (2015-05-08 21:48:08 UTC) #2
kelvinp
lgtm with comments https://codereview.chromium.org/1123183005/diff/1/remoting/webapp/app_remoting/js/app_connected_view.js File remoting/webapp/app_remoting/js/app_connected_view.js (right): https://codereview.chromium.org/1123183005/diff/1/remoting/webapp/app_remoting/js/app_connected_view.js#newcode252 remoting/webapp/app_remoting/js/app_connected_view.js:252: var previousToken_ = ''; This can ...
5 years, 7 months ago (2015-05-11 17:17:33 UTC) #3
Jamie
FYI https://codereview.chromium.org/1123183005/diff/1/remoting/webapp/app_remoting/js/app_connected_view.js File remoting/webapp/app_remoting/js/app_connected_view.js (right): https://codereview.chromium.org/1123183005/diff/1/remoting/webapp/app_remoting/js/app_connected_view.js#newcode252 remoting/webapp/app_remoting/js/app_connected_view.js:252: var previousToken_ = ''; On 2015/05/11 17:17:33, kelvinp ...
5 years, 7 months ago (2015-05-11 17:23:09 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1123183005/1
5 years, 7 months ago (2015-05-11 17:33:21 UTC) #6
commit-bot: I haz the power
Failed to apply patch for remoting/webapp/crd/js/identity.js: While running git apply --index -3 -p1; error: remoting/webapp/crd/js/identity.js: ...
5 years, 7 months ago (2015-05-11 18:53:50 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1123183005/20001
5 years, 7 months ago (2015-05-13 19:44:56 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 7 months ago (2015-05-13 20:50:32 UTC) #13
commit-bot: I haz the power
5 years, 7 months ago (2015-05-13 20:51:11 UTC) #14
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/c7cd74f28ffab679477ca8ef41e9e27b9ceea9d3
Cr-Commit-Position: refs/heads/master@{#329711}

Powered by Google App Engine
This is Rietveld 408576698