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

Issue 2219333002: DevTools: Fix "Run Snippet" button not showing when viewing a snippet right after opening DevTools (Closed)

Created:
4 years, 4 months ago by Matt Zeunert
Modified:
4 years, 4 months ago
Reviewers:
paulirish, paulirish, 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
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix "Run Snippet" button not showing when viewing a snippet right after opening DevTools. The SourcesPanel isn't aware that the snippet is displayed because it only starts listening to "EditorSelected" events after the SourcesView has already been initialized. With this change SourcesPanel explicitly requests the file that's being displayed after initializing SourcesView and then updates the UI accordingly. BUG=635309 Committed: https://crrev.com/df25833b11f3e555df4550792b2e6a6c8a9be3a5 Cr-Commit-Position: refs/heads/master@{#411003}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -0 lines) Patch
M third_party/WebKit/Source/devtools/front_end/sources/SourcesPanel.js View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 23 (14 generated)
Matt Zeunert
PTAL
4 years, 4 months ago (2016-08-07 09:38:04 UTC) #3
paulirish
Nice. Thanks for the patch. We'll likely take a look at it tomorrow.
4 years, 4 months ago (2016-08-07 22:07:20 UTC) #5
lushnikov
lgtm, thank you! nit: please, prepend issue description with "DevTools:" prefix.
4 years, 4 months ago (2016-08-08 19:16:12 UTC) #6
paulirish
lgtm
4 years, 4 months ago (2016-08-08 21:35:06 UTC) #8
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/2219333002/1
4 years, 4 months ago (2016-08-08 21:35:30 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/257130)
4 years, 4 months ago (2016-08-08 23:36:43 UTC) #11
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/2219333002/1
4 years, 4 months ago (2016-08-10 08:16:09 UTC) #19
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 4 months ago (2016-08-10 08:20:59 UTC) #21
commit-bot: I haz the power
4 years, 4 months ago (2016-08-10 08:22:50 UTC) #23
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/df25833b11f3e555df4550792b2e6a6c8a9be3a5
Cr-Commit-Position: refs/heads/master@{#411003}

Powered by Google App Engine
This is Rietveld 408576698