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

Issue 1887913002: DevTools: improve identifier extraction in SourceMapNamesResolver (Closed)

Created:
4 years, 8 months ago by lushnikov
Modified:
4 years, 8 months ago
Reviewers:
dgozman, 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, sergeyv+blink_chromium.org, 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: improve identifier extraction in SourceMapNamesResolver Apart from extracting identifier names from SourceMap.name entries, this patch attempts to extract variable names from a mapped source. BUG=none R=dgozman, pfeldman_ooo Committed: https://crrev.com/62ae3bbfa1d26c5e2b175b9e894bbf9d78a859de Cr-Commit-Position: refs/heads/master@{#387533}

Patch Set 1 #

Total comments: 18

Patch Set 2 : address comments #

Total comments: 2

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+360 lines, -79 lines) Patch
A + third_party/WebKit/LayoutTests/inspector/sources/debugger/debugger-scope-resolve-identifiers.html View 1 chunk +2 lines, -9 lines 0 comments Download
A + third_party/WebKit/LayoutTests/inspector/sources/debugger/debugger-scope-resolve-identifiers-expected.txt View 1 chunk +3 lines, -6 lines 0 comments Download
A third_party/WebKit/LayoutTests/inspector/sources/debugger/extract-javascript-identifiers.html View 1 1 chunk +82 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/inspector/sources/debugger/extract-javascript-identifiers-expected.txt View 1 1 chunk +77 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/inspector/sources/debugger/resources/resolve-identifiers.js View 1 chunk +8 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/inspector/sources/debugger/resources/resolve-identifiers.ts View 1 chunk +7 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/inspector/sources/debugger/resources/resolve-identifiers.js.map View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/common/Text.js View 1 1 chunk +10 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/es_tree/ESTreeWalker.js View 2 chunks +8 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/externs.js View 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/formatter_worker/FormatterWorker.js View 1 3 chunks +20 lines, -20 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sdk/DebuggerModel.js View 2 chunks +8 lines, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sources/SourceMapNamesResolver.js View 1 2 3 chunks +132 lines, -40 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 15 (5 generated)
lushnikov
ptal!
4 years, 8 months ago (2016-04-14 02:02:11 UTC) #1
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1887913002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1887913002/1
4 years, 8 months ago (2016-04-14 02:03:35 UTC) #3
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-04-14 04:19:02 UTC) #5
dgozman
https://codereview.chromium.org/1887913002/diff/1/third_party/WebKit/Source/devtools/front_end/common/Text.js File third_party/WebKit/Source/devtools/front_end/common/Text.js (right): https://codereview.chromium.org/1887913002/diff/1/third_party/WebKit/Source/devtools/front_end/common/Text.js#newcode134 third_party/WebKit/Source/devtools/front_end/common/Text.js:134: setOffset: function(offset) resetTo https://codereview.chromium.org/1887913002/diff/1/third_party/WebKit/Source/devtools/front_end/formatter_worker/FormatterWorker.js File third_party/WebKit/Source/devtools/front_end/formatter_worker/FormatterWorker.js (right): https://codereview.chromium.org/1887913002/diff/1/third_party/WebKit/Source/devtools/front_end/formatter_worker/FormatterWorker.js#newcode137 third_party/WebKit/Source/devtools/front_end/formatter_worker/FormatterWorker.js:137: ...
4 years, 8 months ago (2016-04-14 19:15:38 UTC) #6
lushnikov
https://codereview.chromium.org/1887913002/diff/1/third_party/WebKit/Source/devtools/front_end/common/Text.js File third_party/WebKit/Source/devtools/front_end/common/Text.js (right): https://codereview.chromium.org/1887913002/diff/1/third_party/WebKit/Source/devtools/front_end/common/Text.js#newcode134 third_party/WebKit/Source/devtools/front_end/common/Text.js:134: setOffset: function(offset) On 2016/04/14 19:15:37, dgozman wrote: > resetTo ...
4 years, 8 months ago (2016-04-15 00:16:02 UTC) #7
dgozman
lgtm https://codereview.chromium.org/1887913002/diff/20001/third_party/WebKit/Source/devtools/front_end/sources/SourceMapNamesResolver.js File third_party/WebKit/Source/devtools/front_end/sources/SourceMapNamesResolver.js (right): https://codereview.chromium.org/1887913002/diff/20001/third_party/WebKit/Source/devtools/front_end/sources/SourceMapNamesResolver.js#newcode186 third_party/WebKit/Source/devtools/front_end/sources/SourceMapNamesResolver.js:186: function onSourceText(sourceTextRange, text) Merge this into previous one.
4 years, 8 months ago (2016-04-15 00:40:44 UTC) #8
lushnikov
https://codereview.chromium.org/1887913002/diff/20001/third_party/WebKit/Source/devtools/front_end/sources/SourceMapNamesResolver.js File third_party/WebKit/Source/devtools/front_end/sources/SourceMapNamesResolver.js (right): https://codereview.chromium.org/1887913002/diff/20001/third_party/WebKit/Source/devtools/front_end/sources/SourceMapNamesResolver.js#newcode186 third_party/WebKit/Source/devtools/front_end/sources/SourceMapNamesResolver.js:186: function onSourceText(sourceTextRange, text) On 2016/04/15 00:40:43, dgozman wrote: > ...
4 years, 8 months ago (2016-04-15 00:45:48 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1887913002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1887913002/40001
4 years, 8 months ago (2016-04-15 00:46:22 UTC) #12
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 8 months ago (2016-04-15 03:15:01 UTC) #13
commit-bot: I haz the power
4 years, 8 months ago (2016-04-15 03:16:48 UTC) #15
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/62ae3bbfa1d26c5e2b175b9e894bbf9d78a859de
Cr-Commit-Position: refs/heads/master@{#387533}

Powered by Google App Engine
This is Rietveld 408576698