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

Issue 2319393002: DevTools: Fix race condition in TextPrompt completions (Closed)

Created:
4 years, 3 months ago by einbinder
Modified:
4 years, 3 months ago
Reviewers:
lushnikov
CC:
apavlov+blink_chromium.org, blink-reviews, caseq+blink_chromium.org, chromium-reviews, devtools-reviews_chromium.org, kozyatinskiy+blink_chromium.org, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org, pfeldman
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

DevTools: Fix race condition in TextPrompt completions If a _loadCompletions was started while an earlier one was active, the earlier one could still be used. BUG=none Committed: https://crrev.com/7255c311ffad11a57e8361ce92bbea8cae710f26 Cr-Commit-Position: refs/heads/master@{#417497}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Rename to completionRequestId #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -7 lines) Patch
M third_party/WebKit/Source/devtools/front_end/ui/TextPrompt.js View 1 6 chunks +8 lines, -7 lines 0 comments Download

Messages

Total messages: 12 (4 generated)
einbinder
Ptal
4 years, 3 months ago (2016-09-08 01:09:40 UTC) #3
einbinder
Ptal
4 years, 3 months ago (2016-09-08 01:09:40 UTC) #4
lushnikov
https://codereview.chromium.org/2319393002/diff/1/third_party/WebKit/Source/devtools/front_end/ui/TextPrompt.js File third_party/WebKit/Source/devtools/front_end/ui/TextPrompt.js (right): https://codereview.chromium.org/2319393002/diff/1/third_party/WebKit/Source/devtools/front_end/ui/TextPrompt.js#newcode48 third_party/WebKit/Source/devtools/front_end/ui/TextPrompt.js:48: this._completionsCounter = 0; let's name it _completionRequestId https://codereview.chromium.org/2319393002/diff/1/third_party/WebKit/Source/devtools/front_end/ui/TextPrompt.js#newcode502 third_party/WebKit/Source/devtools/front_end/ui/TextPrompt.js:502: ...
4 years, 3 months ago (2016-09-08 14:45:50 UTC) #5
einbinder
https://codereview.chromium.org/2319393002/diff/1/third_party/WebKit/Source/devtools/front_end/ui/TextPrompt.js File third_party/WebKit/Source/devtools/front_end/ui/TextPrompt.js (right): https://codereview.chromium.org/2319393002/diff/1/third_party/WebKit/Source/devtools/front_end/ui/TextPrompt.js#newcode48 third_party/WebKit/Source/devtools/front_end/ui/TextPrompt.js:48: this._completionsCounter = 0; On 2016/09/08 at 14:45:50, lushnikov wrote: ...
4 years, 3 months ago (2016-09-08 17:49:16 UTC) #6
lushnikov
thank you, lgtm
4 years, 3 months ago (2016-09-08 21:06:49 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2319393002/20001
4 years, 3 months ago (2016-09-09 02:10:31 UTC) #9
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 3 months ago (2016-09-09 03:45:59 UTC) #10
commit-bot: I haz the power
4 years, 3 months ago (2016-09-09 03:47:54 UTC) #12
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/7255c311ffad11a57e8361ce92bbea8cae710f26
Cr-Commit-Position: refs/heads/master@{#417497}

Powered by Google App Engine
This is Rietveld 408576698