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

Issue 829853006: IdentityLaunchWebAuthFlowFunction shouldn't be able to send response twice. (Closed)

Created:
5 years, 11 months ago by Lukasz Jagielski
Modified:
5 years, 11 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org, Roger Tawa OOO till Jul 10th
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

IdentityLaunchWebAuthFlowFunction shouldn't be able to send response twice. It is possible before this change, because when response it sent, WebAuthFlow isn't stopped or destroyed and it still can call its delegate methods. BUG= Committed: https://crrev.com/ee37f1b7c6da834dec9056283cf83d88b0f2f53c Cr-Commit-Position: refs/heads/master@{#311028}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Fixup #

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

Messages

Total messages: 12 (3 generated)
Lukasz Jagielski
Hi, PTAL at my CL proposition. Regards, Łukasz
5 years, 11 months ago (2015-01-08 14:20:37 UTC) #2
Roger Tawa OOO till Jul 10th
I'm not familiar with this code, adding Michael as reviewer who owns this code.
5 years, 11 months ago (2015-01-08 22:05:53 UTC) #4
Michael Courage
Hi Łukasz, out of curiosity have there been cases where multiple responses were sent, or ...
5 years, 11 months ago (2015-01-08 22:45:14 UTC) #5
Michael Courage
https://codereview.chromium.org/829853006/diff/1/chrome/browser/extensions/api/identity/identity_api.cc File chrome/browser/extensions/api/identity/identity_api.cc (right): https://codereview.chromium.org/829853006/diff/1/chrome/browser/extensions/api/identity/identity_api.cc#newcode946 chrome/browser/extensions/api/identity/identity_api.cc:946: Release(); // Balanced in RunAsync. Would we not also ...
5 years, 11 months ago (2015-01-08 22:45:27 UTC) #6
Lukasz Jagielski
Hi, Test LaunchWebAuthFlowFunctionTest.NonInteractiveSuccess was flaky for me in certain circumstances and hw setup. IdentityLaunchWebAuthFlowFunction sends ...
5 years, 11 months ago (2015-01-09 23:00:50 UTC) #7
Michael Courage
lgtm, thanks!
5 years, 11 months ago (2015-01-09 23:24:07 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/829853006/20001
5 years, 11 months ago (2015-01-12 08:32:56 UTC) #10
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 11 months ago (2015-01-12 09:30:29 UTC) #11
commit-bot: I haz the power
5 years, 11 months ago (2015-01-12 09:31:18 UTC) #12
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/ee37f1b7c6da834dec9056283cf83d88b0f2f53c
Cr-Commit-Position: refs/heads/master@{#311028}

Powered by Google App Engine
This is Rietveld 408576698