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

Issue 2696143005: DevTools: fix NavigatorView exception (Closed)

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

Description

DevTools: fix NavigatorView exception This patch fixes the "Cannot read property _deferredScrollIntoView of undefined" exception in navigator view. The navigator view assumes that there's only one project per frame; thus, when the project gets removed, it removes frame. However, in case of content script projects, there are multiple projects per frame, so the logic is incorrect. BUG=596053 R=pfeldman Review-Url: https://codereview.chromium.org/2696143005 Cr-Commit-Position: refs/heads/master@{#452205} Committed: https://chromium.googlesource.com/chromium/src/+/870b0bed803975d8ccd75a3af5ceff935214e2f5

Patch Set 1 #

Patch Set 2 : add test #

Patch Set 3 : move test to http #

Unified diffs Side-by-side diffs Delta from patch set Stats (+73 lines, -5 lines) Patch
A third_party/WebKit/LayoutTests/http/tests/inspector/sources/navigator-view-content-scripts.html View 1 2 1 chunk +41 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/http/tests/inspector/sources/navigator-view-content-scripts-expected.txt View 1 2 1 chunk +29 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sources/NavigatorView.js View 1 2 chunks +3 lines, -5 lines 0 comments Download

Messages

Total messages: 31 (17 generated)
lushnikov
please, take a look
3 years, 10 months ago (2017-02-16 02:56:16 UTC) #1
pfeldman
On 2017/02/16 02:56:16, lushnikov wrote: > please, take a look Could you explain why this ...
3 years, 10 months ago (2017-02-16 21:31:40 UTC) #6
pfeldman
lgtm, but please try adding a test
3 years, 10 months ago (2017-02-16 22:55:59 UTC) #7
lushnikov
added a test! thanks!
3 years, 10 months ago (2017-02-17 22:13:22 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/2696143005/20001
3 years, 10 months ago (2017-02-17 22:14:57 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_linux on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL) chromeos_amd64-generic_chromium_compile_only_ng on ...
3 years, 10 months ago (2017-02-18 00:18:48 UTC) #13
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/2696143005/20001
3 years, 10 months ago (2017-02-18 00:20:38 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/392996) linux_chromium_tsan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, ...
3 years, 10 months ago (2017-02-18 01:19:44 UTC) #17
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/2696143005/40001
3 years, 10 months ago (2017-02-22 00:27:33 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_linux on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL) chromeos_amd64-generic_chromium_compile_only_ng on ...
3 years, 10 months ago (2017-02-22 02:30:48 UTC) #22
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/2696143005/40001
3 years, 10 months ago (2017-02-22 02:47:15 UTC) #24
commit-bot: I haz the power
Exceeded global retry quota
3 years, 10 months ago (2017-02-22 04:49:00 UTC) #26
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/2696143005/40001
3 years, 10 months ago (2017-02-22 19:44:21 UTC) #28
commit-bot: I haz the power
3 years, 10 months ago (2017-02-22 21:23:11 UTC) #31
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/870b0bed803975d8ccd75a3af5ce...

Powered by Google App Engine
This is Rietveld 408576698