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

Issue 2077363003: DevTools: similarly to the way we match scripts ignoring sourceurl comments, ignore framework-speci… (Closed)

Created:
4 years, 6 months ago by pfeldman
Modified:
4 years, 3 months ago
Reviewers:
dgozman
CC:
apavlov+blink_chromium.org, blink-reviews, caseq+blink_chromium.org, chromium-reviews, devtools-reviews_chromium.org, kozyatinskiy+blink_chromium.org, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org, pfeldman, sergeyv+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: similarly to the way we match scripts ignoring sourceurl comments, ignore framework-specific closure wrappers. BUG=621535 Committed: https://crrev.com/8afea8f3061288d68aac97a266ea9b2ac9bd72e6 Cr-Commit-Position: refs/heads/master@{#400945}

Patch Set 1 #

Total comments: 4

Patch Set 2 : test added #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -4 lines) Patch
M third_party/WebKit/LayoutTests/inspector/sources/debugger/file-system-project-mapping.html View 1 1 chunk +34 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/sources/debugger/file-system-project-mapping-expected.txt View 1 1 chunk +9 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/bindings/ResourceScriptMapping.js View 1 1 chunk +16 lines, -4 lines 1 comment Download

Messages

Total messages: 13 (6 generated)
pfeldman
4 years, 6 months ago (2016-06-20 15:36:14 UTC) #2
dgozman
Let's add a test. lgtm https://codereview.chromium.org/2077363003/diff/1/third_party/WebKit/Source/devtools/front_end/bindings/ResourceScriptMapping.js File third_party/WebKit/Source/devtools/front_end/bindings/ResourceScriptMapping.js (right): https://codereview.chromium.org/2077363003/diff/1/third_party/WebKit/Source/devtools/front_end/bindings/ResourceScriptMapping.js#newcode327 third_party/WebKit/Source/devtools/front_end/bindings/ResourceScriptMapping.js:327: var suffix = this._uiSourceCode.workingCopy().substr(this._scriptSource.length); ...
4 years, 6 months ago (2016-06-20 16:17:42 UTC) #4
pfeldman
https://codereview.chromium.org/2077363003/diff/1/third_party/WebKit/Source/devtools/front_end/bindings/ResourceScriptMapping.js File third_party/WebKit/Source/devtools/front_end/bindings/ResourceScriptMapping.js (right): https://codereview.chromium.org/2077363003/diff/1/third_party/WebKit/Source/devtools/front_end/bindings/ResourceScriptMapping.js#newcode327 third_party/WebKit/Source/devtools/front_end/bindings/ResourceScriptMapping.js:327: var suffix = this._uiSourceCode.workingCopy().substr(this._scriptSource.length); On 2016/06/20 16:17:42, dgozman wrote: ...
4 years, 6 months ago (2016-06-21 08:50:46 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2077363003/20001
4 years, 6 months ago (2016-06-21 08:51:08 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 6 months ago (2016-06-21 10:44:52 UTC) #10
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/8afea8f3061288d68aac97a266ea9b2ac9bd72e6 Cr-Commit-Position: refs/heads/master@{#400945}
4 years, 6 months ago (2016-06-21 10:47:46 UTC) #12
paulirish
4 years, 3 months ago (2016-09-21 02:47:58 UTC) #13
Message was sent while issue was closed.
https://codereview.chromium.org/2077363003/diff/20001/third_party/WebKit/Sour...
File
third_party/WebKit/Source/devtools/front_end/bindings/ResourceScriptMapping.js
(right):

https://codereview.chromium.org/2077363003/diff/20001/third_party/WebKit/Sour...
third_party/WebKit/Source/devtools/front_end/bindings/ResourceScriptMapping.js:332:
var nodePrefix = "(function (exports, require, module, __filename, __dirname) {
\n";
fwiw: this matches against the node string here: 
https://github.com/nodejs/node/blob/66df5d147f65cc1a36098987e2d6131c5403c0fc/...

Powered by Google App Engine
This is Rietveld 408576698