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

Issue 1663723002: [DevTools] Add sourceMap support for blackboxing (Closed)

Created:
4 years, 10 months ago by kozy
Modified:
4 years, 10 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, sergeyv+blink_chromium.org, pfeldman, kozyatinskiy+blink_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@call-set-blackboxed-ranges-on-script-parsed
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[DevTools] Add sourceMap support for blackboxing Use script's source map for calculating blackbox ranges. R=dgozman@chromium.org BUG=583193, 341082 Committed: https://crrev.com/8598709b162ff0493a2eb36a72891bd2043d8e71 Cr-Commit-Position: refs/heads/master@{#375794}

Patch Set 1 #

Patch Set 2 : #

Total comments: 10

Patch Set 3 : #

Total comments: 30

Patch Set 4 : #

Total comments: 2

Patch Set 5 : rebased #

Total comments: 18

Patch Set 6 : #

Patch Set 7 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+523 lines, -227 lines) Patch
M third_party/WebKit/LayoutTests/http/tests/inspector/debugger-test.js View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
D third_party/WebKit/LayoutTests/inspector-protocol/debugger/resources/framework-with-inline-sourcemap.js View 1 chunk +0 lines, -9 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/sources/debugger-frameworks/frameworks-blackbox-patterns.html View 1 2 1 chunk +1 line, -1 line 0 comments Download
A third_party/WebKit/LayoutTests/inspector/sources/debugger-frameworks/frameworks-sourcemap.html View 1 2 3 1 chunk +55 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/inspector/sources/debugger-frameworks/frameworks-sourcemap-expected.txt View 1 2 3 1 chunk +18 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/inspector/sources/debugger/resources/framework-with-sourcemap.js View 1 chunk +9 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/inspector/sources/debugger/resources/framework-with-sourcemap.js.map View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/tracing/timeline-js-blackboxing.html View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/devtools/devtools.gypi View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
A third_party/WebKit/Source/devtools/front_end/bindings/BlackboxManager.js View 1 2 3 4 5 6 1 chunk +353 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/bindings/BlackboxSupport.js View 1 2 1 chunk +0 lines, -178 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/bindings/CompilerScriptMapping.js View 1 2 2 chunks +11 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/bindings/DebuggerWorkspaceBinding.js View 1 2 1 chunk +12 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/bindings/module.json View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/components/DebuggerPresentationUtils.js View 1 2 3 1 chunk +6 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/components/Linkifier.js View 1 2 3 1 chunk +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/main/Main.js View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sdk/Script.js View 1 2 3 4 5 2 chunks +22 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sdk/SourceMap.js View 1 2 3 1 chunk +8 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sources/CallStackSidebarPane.js View 1 2 3 4 chunks +10 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sources/JavaScriptSourceFrame.js View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sources/SourcesPanel.js View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/timeline/TimelineFlameChart.js View 1 2 3 4 chunks +3 lines, -9 lines 0 comments Download

Messages

Total messages: 19 (9 generated)
kozy
ptal
4 years, 10 months ago (2016-02-03 02:40:55 UTC) #1
dgozman
We decided to not load sourcemap for blackboxed script. Let's do it in this patch. ...
4 years, 10 months ago (2016-02-03 18:24:11 UTC) #2
kozy
All done. I'm going to add ignoring source map in next CL. https://codereview.chromium.org/1663723002/diff/20001/third_party/WebKit/LayoutTests/inspector/sources/debugger-frameworks/frameworks-sourcemap.html File third_party/WebKit/LayoutTests/inspector/sources/debugger-frameworks/frameworks-sourcemap.html ...
4 years, 10 months ago (2016-02-09 23:10:09 UTC) #4
dgozman
https://codereview.chromium.org/1663723002/diff/60001/third_party/WebKit/Source/devtools/front_end/bindings/BlackboxManager.js File third_party/WebKit/Source/devtools/front_end/bindings/BlackboxManager.js (right): https://codereview.chromium.org/1663723002/diff/60001/third_party/WebKit/Source/devtools/front_end/bindings/BlackboxManager.js#newcode15 third_party/WebKit/Source/devtools/front_end/bindings/BlackboxManager.js:15: this._scripts = new Map(); Store blackbox ranges per script ...
4 years, 10 months ago (2016-02-09 23:44:51 UTC) #5
kozy
All done! https://codereview.chromium.org/1663723002/diff/60001/third_party/WebKit/Source/devtools/front_end/bindings/BlackboxManager.js File third_party/WebKit/Source/devtools/front_end/bindings/BlackboxManager.js (right): https://codereview.chromium.org/1663723002/diff/60001/third_party/WebKit/Source/devtools/front_end/bindings/BlackboxManager.js#newcode15 third_party/WebKit/Source/devtools/front_end/bindings/BlackboxManager.js:15: this._scripts = new Map(); On 2016/02/09 23:44:50, ...
4 years, 10 months ago (2016-02-10 01:19:42 UTC) #6
dgozman
lgtm https://codereview.chromium.org/1663723002/diff/140001/third_party/WebKit/Source/devtools/front_end/components/DebuggerPresentationUtils.js File third_party/WebKit/Source/devtools/front_end/components/DebuggerPresentationUtils.js (right): https://codereview.chromium.org/1663723002/diff/140001/third_party/WebKit/Source/devtools/front_end/components/DebuggerPresentationUtils.js#newcode29 third_party/WebKit/Source/devtools/front_end/components/DebuggerPresentationUtils.js:29: WebInspector.blackboxManager.isBlackboxedURL(callFrame.url); I doubt there could be callFrame without ...
4 years, 10 months ago (2016-02-17 01:34:44 UTC) #10
kozy
all done https://codereview.chromium.org/1663723002/diff/160001/third_party/WebKit/Source/devtools/front_end/bindings/BlackboxManager.js File third_party/WebKit/Source/devtools/front_end/bindings/BlackboxManager.js (right): https://codereview.chromium.org/1663723002/diff/160001/third_party/WebKit/Source/devtools/front_end/bindings/BlackboxManager.js#newcode21 third_party/WebKit/Source/devtools/front_end/bindings/BlackboxManager.js:21: this._scripts = new Map(); On 2016/02/17 01:34:44, ...
4 years, 10 months ago (2016-02-17 03:40:43 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1663723002/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1663723002/200001
4 years, 10 months ago (2016-02-17 03:43:16 UTC) #15
commit-bot: I haz the power
Committed patchset #7 (id:200001)
4 years, 10 months ago (2016-02-17 04:50:31 UTC) #17
commit-bot: I haz the power
4 years, 10 months ago (2016-02-17 04:51:30 UTC) #19
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/8598709b162ff0493a2eb36a72891bd2043d8e71
Cr-Commit-Position: refs/heads/master@{#375794}

Powered by Google App Engine
This is Rietveld 408576698