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

Issue 2122353002: [DevTools] Make resource tree model optional (Closed)

Created:
4 years, 5 months ago by eostroukhov-old
Modified:
4 years, 4 months ago
Reviewers:
dgozman, eostroukhov
CC:
chromium-reviews, extensions-reviews_chromium.org, caseq+blink_chromium.org, shans, rjwright, blink-reviews-style_chromium.org, blink-reviews-animation_chromium.org, darktears, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org, apavlov+blink_chromium.org, devtools-reviews_chromium.org, blink-reviews, chromium-apps-reviews_chromium.org, sergeyv+blink_chromium.org, Eric Willigers, pfeldman, kozyatinskiy+blink_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[DevTools] Make resource tree model optional Some targets may not support resource tree, in this case relevant object should not be created. BUG=624494 Committed: https://crrev.com/27d42dc2ec4da4f99302753c0d15b453adf06a64 Cr-Commit-Position: refs/heads/master@{#413644}

Patch Set 1 #

Patch Set 2 : Rebased #

Total comments: 18

Patch Set 3 : Comments #

Patch Set 4 : Rebased #

Total comments: 60

Patch Set 5 : Fixed a typo in the build file #

Patch Set 6 : Comments addressed, rebased #

Patch Set 7 : [DevTools] No RTM for non-browser targets #

Total comments: 34

Patch Set 8 : Comments addressed #

Total comments: 8

Patch Set 9 : Comments were addressed #

Patch Set 10 : Rebased #

Patch Set 11 : Fixed a bug in console view init #

Total comments: 2

Patch Set 12 : Comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+134 lines, -124 lines) Patch
M third_party/WebKit/LayoutTests/http/tests/inspector/inspector-test.js View 1 2 3 4 5 6 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/execution-context-sorted.html View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/animation/AnimationModel.js View 1 2 3 4 5 6 7 8 9 2 chunks +6 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/bindings/NetworkProject.js View 1 2 3 4 5 6 7 8 5 chunks +25 lines, -59 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/bindings/ResourceUtils.js View 1 2 3 4 5 6 7 2 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/bindings/StylesSourceMapping.js View 1 2 3 4 5 6 7 2 chunks +13 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/components/DOMPresentationUtils.js View 1 2 3 4 5 6 1 chunk +7 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/components/ExecutionContextSelector.js View 1 2 3 4 5 6 4 chunks +9 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/console/ConsoleContextSelector.js View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/console/ConsoleView.js View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +3 lines, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/emulation/DeviceModeView.js View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/extensions/ExtensionServer.js View 1 2 3 4 5 6 7 8 9 2 chunks +10 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/screencast/ScreencastApp.js View 1 2 3 4 5 1 chunk +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/screencast/ScreencastView.js View 1 2 3 4 5 3 chunks +6 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sdk/TargetManager.js View 1 2 3 4 5 6 7 8 9 10 11 5 chunks +32 lines, -20 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sources/NavigatorView.js View 1 2 3 4 5 6 1 chunk +7 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/timeline/TimelineController.js View 1 2 3 4 5 6 7 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 63 (36 generated)
eostroukhov-old
4 years, 5 months ago (2016-07-07 16:32:10 UTC) #2
pfeldman
The rule of thumb is that if this code should work in Node, it should ...
4 years, 5 months ago (2016-07-07 17:44:14 UTC) #6
eostroukhov-old
Thank you for the review. Please take another look. https://codereview.chromium.org/2122353002/diff/20001/third_party/WebKit/Source/devtools/front_end/animation/AnimationModel.js File third_party/WebKit/Source/devtools/front_end/animation/AnimationModel.js (right): https://codereview.chromium.org/2122353002/diff/20001/third_party/WebKit/Source/devtools/front_end/animation/AnimationModel.js#newcode24 third_party/WebKit/Source/devtools/front_end/animation/AnimationModel.js:24: ...
4 years, 5 months ago (2016-07-13 23:30:59 UTC) #8
pfeldman
This is no longer a mechanical change, you should split it into smaller patches and ...
4 years, 5 months ago (2016-07-13 23:55:57 UTC) #10
dgozman
https://codereview.chromium.org/2122353002/diff/60001/third_party/WebKit/Source/devtools/front_end/bindings/ResourceUtils.js File third_party/WebKit/Source/devtools/front_end/bindings/ResourceUtils.js (right): https://codereview.chromium.org/2122353002/diff/60001/third_party/WebKit/Source/devtools/front_end/bindings/ResourceUtils.js#newcode37 third_party/WebKit/Source/devtools/front_end/bindings/ResourceUtils.js:37: var targets = WebInspector.targetManager.targets(); Pass browser capability? This way ...
4 years, 5 months ago (2016-07-14 16:29:29 UTC) #13
dgozman
https://codereview.chromium.org/2122353002/diff/60001/third_party/WebKit/Source/devtools/front_end/sdk/ResourceTreeModel.js File third_party/WebKit/Source/devtools/front_end/sdk/ResourceTreeModel.js (right): https://codereview.chromium.org/2122353002/diff/60001/third_party/WebKit/Source/devtools/front_end/sdk/ResourceTreeModel.js#newcode133 third_party/WebKit/Source/devtools/front_end/sdk/ResourceTreeModel.js:133: if (error) { This check can be removed with ...
4 years, 5 months ago (2016-07-14 16:30:28 UTC) #14
eostroukhov-old
Comments addressed, rebased
4 years, 5 months ago (2016-07-20 23:43:22 UTC) #17
eostroukhov-old
Thank you for the review. Did my best to address the comments - please take ...
4 years, 5 months ago (2016-07-20 23:46:16 UTC) #18
eostroukhov-old
This is a vastly different patch, big portion of the previous revision went in as ...
4 years, 4 months ago (2016-08-18 23:38:12 UTC) #23
dgozman
https://codereview.chromium.org/2122353002/diff/120001/third_party/WebKit/Source/devtools/front_end/animation/AnimationModel.js File third_party/WebKit/Source/devtools/front_end/animation/AnimationModel.js (right): https://codereview.chromium.org/2122353002/diff/120001/third_party/WebKit/Source/devtools/front_end/animation/AnimationModel.js#newcode212 third_party/WebKit/Source/devtools/front_end/animation/AnimationModel.js:212: if (!target[WebInspector.AnimationModel._symbol]) { style: unnecessary {} https://codereview.chromium.org/2122353002/diff/120001/third_party/WebKit/Source/devtools/front_end/bindings/NetworkProject.js File third_party/WebKit/Source/devtools/front_end/bindings/NetworkProject.js ...
4 years, 4 months ago (2016-08-19 20:23:38 UTC) #27
eostroukhov-old
Comments addressed
4 years, 4 months ago (2016-08-20 01:20:23 UTC) #28
eostroukhov
Thank you for the review. I addressed the comments, please take another look. https://codereview.chromium.org/2122353002/diff/120001/third_party/WebKit/Source/devtools/front_end/animation/AnimationModel.js File ...
4 years, 4 months ago (2016-08-20 01:22:31 UTC) #32
dgozman
lgtm https://codereview.chromium.org/2122353002/diff/120001/third_party/WebKit/Source/devtools/front_end/sdk/TargetManager.js File third_party/WebKit/Source/devtools/front_end/sdk/TargetManager.js (right): https://codereview.chromium.org/2122353002/diff/120001/third_party/WebKit/Source/devtools/front_end/sdk/TargetManager.js#newcode210 third_party/WebKit/Source/devtools/front_end/sdk/TargetManager.js:210: if (resourceTreeModel) { On 2016/08/20 01:22:31, eostroukhov wrote: ...
4 years, 4 months ago (2016-08-20 01:32:00 UTC) #33
eostroukhov-old
Comments were addressed
4 years, 4 months ago (2016-08-22 17:55:08 UTC) #36
eostroukhov-old
Thanks for the review - I addressed the comments and will now submit the CL. ...
4 years, 4 months ago (2016-08-22 17:55:41 UTC) #37
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/2122353002/160001
4 years, 4 months ago (2016-08-22 17:56:57 UTC) #40
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/282217)
4 years, 4 months ago (2016-08-22 19:10:48 UTC) #42
eostroukhov-old
Rebased
4 years, 4 months ago (2016-08-22 19:22:59 UTC) #43
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/2122353002/180001
4 years, 4 months ago (2016-08-22 19:23:51 UTC) #46
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/213757)
4 years, 4 months ago (2016-08-22 20:45:57 UTC) #48
eostroukhov-old
Fixed a bug in console view init
4 years, 4 months ago (2016-08-23 00:58:19 UTC) #51
eostroukhov-old
Please take another look at ConsoleView.js - there was a bug there. Thank you for ...
4 years, 4 months ago (2016-08-23 01:03:17 UTC) #54
dgozman
lgtm https://codereview.chromium.org/2122353002/diff/200001/third_party/WebKit/Source/devtools/front_end/console/ConsoleView.js File third_party/WebKit/Source/devtools/front_end/console/ConsoleView.js (right): https://codereview.chromium.org/2122353002/diff/200001/third_party/WebKit/Source/devtools/front_end/console/ConsoleView.js#newcode191 third_party/WebKit/Source/devtools/front_end/console/ConsoleView.js:191: var resourcesLoaded = !resourceTreeModel || resourceTreeModel.cachedResourcesLoaded; - style: ...
4 years, 4 months ago (2016-08-23 01:13:35 UTC) #55
eostroukhov-old
Comments
4 years, 4 months ago (2016-08-23 01:16:33 UTC) #56
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/2122353002/220001
4 years, 4 months ago (2016-08-23 01:18:00 UTC) #59
commit-bot: I haz the power
Committed patchset #12 (id:220001)
4 years, 4 months ago (2016-08-23 02:40:34 UTC) #61
commit-bot: I haz the power
4 years, 4 months ago (2016-08-23 02:42:56 UTC) #63
Message was sent while issue was closed.
Patchset 12 (id:??) landed as
https://crrev.com/27d42dc2ec4da4f99302753c0d15b453adf06a64
Cr-Commit-Position: refs/heads/master@{#413644}

Powered by Google App Engine
This is Rietveld 408576698