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

Issue 2826173003: DevTools: prepare Navigator and Network Project for merging uiSourceCodes (Closed)

Created:
3 years, 8 months ago by lushnikov
Modified:
3 years, 8 months ago
Reviewers:
dgozman
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, pfeldman, kozyatinskiy+blink_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

DevTools: prepare Navigator and Network Project for merging uiSourceCodes The crrev.com/2714053002/, which implemented UISourceCode merging, didn't handle removal of source map source files (they were never removed back in the days). Since now we do all the bookkeeping properly, that CL should be complicated further, which makes it uncomfortably large. This patch extracts a few important bits from that CL, making future patches simpler. This patch: - introduces NewtorkProject.frameAttribution method which returns frameIds for the UISourceCode. - implements shortcuts in NavigatorView, using NetworkProject.frameAttribution - improves NetworkProject to fetch resource metadatas efficiently BUG=670180 R=dgozman Review-Url: https://codereview.chromium.org/2826173003 Cr-Commit-Position: refs/heads/master@{#466492} Committed: https://chromium.googlesource.com/chromium/src/+/8d63b4e145b185c53bd013b592c6c80b4e6365c4

Patch Set 1 #

Patch Set 2 : network project #

Patch Set 3 : nice vocabulary #

Total comments: 6

Patch Set 4 : address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+91 lines, -52 lines) Patch
M third_party/WebKit/Source/devtools/front_end/bindings/CompilerScriptMapping.js View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/bindings/NetworkProject.js View 1 2 3 7 chunks +36 lines, -27 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/bindings/ResourceUtils.js View 1 2 3 1 chunk +25 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sources/NavigatorView.js View 1 2 3 4 chunks +29 lines, -23 lines 0 comments Download

Messages

Total messages: 22 (16 generated)
lushnikov
please, take a look
3 years, 8 months ago (2017-04-20 00:05:28 UTC) #3
dgozman
https://codereview.chromium.org/2826173003/diff/40001/third_party/WebKit/Source/devtools/front_end/bindings/NetworkProject.js File third_party/WebKit/Source/devtools/front_end/bindings/NetworkProject.js (right): https://codereview.chromium.org/2826173003/diff/40001/third_party/WebKit/Source/devtools/front_end/bindings/NetworkProject.js#newcode433 third_party/WebKit/Source/devtools/front_end/bindings/NetworkProject.js:433: var resource = frame ? frame.resourceForURL(url) : this._resourceTreeModel.resourceForURL(url); Why ...
3 years, 8 months ago (2017-04-20 17:12:07 UTC) #11
lushnikov
please, take another look! https://codereview.chromium.org/2826173003/diff/40001/third_party/WebKit/Source/devtools/front_end/bindings/NetworkProject.js File third_party/WebKit/Source/devtools/front_end/bindings/NetworkProject.js (right): https://codereview.chromium.org/2826173003/diff/40001/third_party/WebKit/Source/devtools/front_end/bindings/NetworkProject.js#newcode433 third_party/WebKit/Source/devtools/front_end/bindings/NetworkProject.js:433: var resource = frame ? ...
3 years, 8 months ago (2017-04-21 01:21:51 UTC) #12
dgozman
lgtm
3 years, 8 months ago (2017-04-21 22:25:24 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/2826173003/60001
3 years, 8 months ago (2017-04-21 22:56:27 UTC) #19
commit-bot: I haz the power
3 years, 8 months ago (2017-04-21 23:37:17 UTC) #22
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/8d63b4e145b185c53bd013b592c6...

Powered by Google App Engine
This is Rietveld 408576698