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

Issue 2869293002: DevTools: make CompilerScriptMapping / SASSSourceMapping manage UISourceCodes (Closed)

Created:
3 years, 7 months ago by lushnikov
Modified:
3 years, 7 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: make CompilerScriptMapping / SASSSourceMapping manage UISourceCodes This patch: - introduce frame attribution methods in NetworkProject - change CompilerScriptMapping / SASSSourceMapping to fully manage related UISourceCodes by themselves. They create a single UISourceCode per target instead of UISourceCode-per-frame approach. R=dgozman BUG=670180 Review-Url: https://codereview.chromium.org/2869293002 Cr-Commit-Position: refs/heads/master@{#471960} Committed: https://chromium.googlesource.com/chromium/src/+/abb90a5c3d4a074c35fb3b60fdeddda93aaef865

Patch Set 1 #

Total comments: 16

Patch Set 2 : address comments #

Patch Set 3 : use {add,remove}FrameAttribution instead of changeFrameAttribution #

Total comments: 14

Patch Set 4 : fix error in navigator #

Patch Set 5 : address comments #

Total comments: 4

Patch Set 6 : address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+307 lines, -198 lines) Patch
M third_party/WebKit/LayoutTests/http/tests/inspector/bindings/sourcemap-bindings-multiple-frames-expected.txt View 3 chunks +2 lines, -6 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/inspector/bindings/suspendtarget-bindings-expected.txt View 4 chunks +2 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/bindings/CSSWorkspaceBinding.js View 1 chunk +1 line, -2 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/bindings/CompilerScriptMapping.js View 1 2 3 4 5 10 chunks +62 lines, -39 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/bindings/DebuggerWorkspaceBinding.js View 2 chunks +13 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/bindings/NetworkProject.js View 1 2 3 4 7 chunks +75 lines, -32 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/bindings/SASSSourceMapping.js View 1 2 7 chunks +37 lines, -49 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/main/Main.js View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/platform/utilities.js View 1 1 chunk +10 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sources/NavigatorView.js View 1 2 3 4 5 7 chunks +102 lines, -58 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sources/SourceMapNamesResolver.js View 1 chunk +2 lines, -2 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 33 (22 generated)
lushnikov
please, take a look
3 years, 7 months ago (2017-05-10 01:59:06 UTC) #1
dgozman
https://codereview.chromium.org/2869293002/diff/1/third_party/WebKit/Source/devtools/front_end/bindings/CompilerScriptMapping.js File third_party/WebKit/Source/devtools/front_end/bindings/CompilerScriptMapping.js (right): https://codereview.chromium.org/2869293002/diff/1/third_party/WebKit/Source/devtools/front_end/bindings/CompilerScriptMapping.js#newcode111 third_party/WebKit/Source/devtools/front_end/bindings/CompilerScriptMapping.js:111: return (isContentScript ? 'extensions:' : '') + 'jsSourceMaps:' + ...
3 years, 7 months ago (2017-05-10 18:10:33 UTC) #6
lushnikov
https://codereview.chromium.org/2869293002/diff/1/third_party/WebKit/Source/devtools/front_end/bindings/CompilerScriptMapping.js File third_party/WebKit/Source/devtools/front_end/bindings/CompilerScriptMapping.js (right): https://codereview.chromium.org/2869293002/diff/1/third_party/WebKit/Source/devtools/front_end/bindings/CompilerScriptMapping.js#newcode111 third_party/WebKit/Source/devtools/front_end/bindings/CompilerScriptMapping.js:111: return (isContentScript ? 'extensions:' : '') + 'jsSourceMaps:' + ...
3 years, 7 months ago (2017-05-10 22:24:33 UTC) #7
lushnikov
I switched api from changeFrameAttribution to {add,remove}FrameAttribution. Please, take another look
3 years, 7 months ago (2017-05-11 21:17:44 UTC) #12
dgozman
https://codereview.chromium.org/2869293002/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/2869293002/diff/40001/third_party/WebKit/Source/devtools/front_end/bindings/NetworkProject.js#newcode63 third_party/WebKit/Source/devtools/front_end/bindings/NetworkProject.js:63: FrameAttributionChanged: Symbol('FrameAttributionChanged') Make it two events. https://codereview.chromium.org/2869293002/diff/40001/third_party/WebKit/Source/devtools/front_end/bindings/NetworkProject.js#newcode138 third_party/WebKit/Source/devtools/front_end/bindings/NetworkProject.js:138: static ...
3 years, 7 months ago (2017-05-11 23:55:16 UTC) #17
lushnikov
https://codereview.chromium.org/2869293002/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/2869293002/diff/40001/third_party/WebKit/Source/devtools/front_end/bindings/NetworkProject.js#newcode63 third_party/WebKit/Source/devtools/front_end/bindings/NetworkProject.js:63: FrameAttributionChanged: Symbol('FrameAttributionChanged') On 2017/05/11 23:55:16, dgozman wrote: > Make ...
3 years, 7 months ago (2017-05-12 01:18:00 UTC) #18
dgozman
lgtm https://codereview.chromium.org/2869293002/diff/80001/third_party/WebKit/Source/devtools/front_end/bindings/CompilerScriptMapping.js File third_party/WebKit/Source/devtools/front_end/bindings/CompilerScriptMapping.js (right): https://codereview.chromium.org/2869293002/diff/80001/third_party/WebKit/Source/devtools/front_end/bindings/CompilerScriptMapping.js#newcode218 third_party/WebKit/Source/devtools/front_end/bindings/CompilerScriptMapping.js:218: scripts = scripts.filter(someScript => someScript.isContentScript() === script.isContentScript()); var ...
3 years, 7 months ago (2017-05-12 19:12:51 UTC) #23
lushnikov
https://codereview.chromium.org/2869293002/diff/80001/third_party/WebKit/Source/devtools/front_end/bindings/CompilerScriptMapping.js File third_party/WebKit/Source/devtools/front_end/bindings/CompilerScriptMapping.js (right): https://codereview.chromium.org/2869293002/diff/80001/third_party/WebKit/Source/devtools/front_end/bindings/CompilerScriptMapping.js#newcode218 third_party/WebKit/Source/devtools/front_end/bindings/CompilerScriptMapping.js:218: scripts = scripts.filter(someScript => someScript.isContentScript() === script.isContentScript()); On 2017/05/12 ...
3 years, 7 months ago (2017-05-15 21:05:02 UTC) #24
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/2869293002/100001
3 years, 7 months ago (2017-05-15 21:26:57 UTC) #27
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/2869293002/100001
3 years, 7 months ago (2017-05-15 23:02:59 UTC) #30
commit-bot: I haz the power
3 years, 7 months ago (2017-05-16 00:49:44 UTC) #33
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/abb90a5c3d4a074c35fb3b60fded...

Powered by Google App Engine
This is Rietveld 408576698