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

Issue 2799483003: DevTools: Only detach FilteredListWidget dialog after item is selected (Closed)

Created:
3 years, 8 months ago by einbinder
Modified:
3 years, 8 months ago
Reviewers:
dgozman, lushnikov, pfeldman
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/heads/master
Project:
chromium
Visibility:
Public.

Description

DevTools: Only detach FilteredListWidget dialog after item is selected The dialog was hidden, which caused the provider to detached. Then selectItem was called on the provider, which was in a potentially bad state. BUG=662081 Review-Url: https://codereview.chromium.org/2799483003 Cr-Commit-Position: refs/heads/master@{#461959} Committed: https://chromium.googlesource.com/chromium/src/+/b638cb237c9a6a1ae7d360ec721b77381c4dbe3b

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -4 lines) Patch
M third_party/WebKit/Source/devtools/front_end/quick_open/FilteredListWidget.js View 2 chunks +2 lines, -4 lines 1 comment Download

Messages

Total messages: 11 (6 generated)
einbinder
ptal I used the manual test plan to verify that this doesn't regress focus.
3 years, 8 months ago (2017-04-04 23:46:20 UTC) #2
pfeldman
lgtm
3 years, 8 months ago (2017-04-04 23:47:58 UTC) #4
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/2799483003/1
3 years, 8 months ago (2017-04-05 00:11:09 UTC) #6
commit-bot: I haz the power
Committed patchset #1 (id:1) as https://chromium.googlesource.com/chromium/src/+/b638cb237c9a6a1ae7d360ec721b77381c4dbe3b
3 years, 8 months ago (2017-04-05 02:58:35 UTC) #9
dgozman
3 years, 8 months ago (2017-04-05 15:39:25 UTC) #11
Message was sent while issue was closed.
https://codereview.chromium.org/2799483003/diff/1/third_party/WebKit/Source/d...
File
third_party/WebKit/Source/devtools/front_end/quick_open/FilteredListWidget.js
(left):

https://codereview.chromium.org/2799483003/diff/1/third_party/WebKit/Source/d...
third_party/WebKit/Source/devtools/front_end/quick_open/FilteredListWidget.js:278:
// Detach dialog before allowing provider to override focus.
Note this was done on purpose. What happens with focus now?

Powered by Google App Engine
This is Rietveld 408576698