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

Issue 323563004: fix crash when identity.getAuthToken is called without an options parameter (Closed)

Created:
6 years, 6 months ago by Michael Courage
Modified:
6 years, 6 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Visibility:
Public.

Description

fix crash when identity.getAuthToken is called without an options parameter This change updates the multi-account handling code to make sure the options parameter object is present before dereferencing it to find the "account" field. A new browser test calls getAuthToken without options. BUG=381637 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=275587

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -1 line) Patch
M chrome/browser/extensions/api/identity/identity_api.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/identity/identity_apitest.cc View 1 chunk +26 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Michael Courage
6 years, 6 months ago (2014-06-06 20:46:26 UTC) #1
not at google - send to devlin
lgtm
6 years, 6 months ago (2014-06-06 20:52:31 UTC) #2
Michael Courage
The CQ bit was checked by courage@chromium.org
6 years, 6 months ago (2014-06-06 21:09:25 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/courage@chromium.org/323563004/1
6 years, 6 months ago (2014-06-06 21:10:45 UTC) #4
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_dbg_triggered_tests on tryserver.chromium ...
6 years, 6 months ago (2014-06-07 00:41:09 UTC) #5
commit-bot: I haz the power
6 years, 6 months ago (2014-06-07 01:56:56 UTC) #6
Message was sent while issue was closed.
Change committed as 275587

Powered by Google App Engine
This is Rietveld 408576698