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

Issue 211493002: DevTools: Show user code location for wrapped console.log() calls. (Closed)

Created:
6 years, 9 months ago by aandrey
Modified:
6 years, 9 months ago
Reviewers:
pfeldman
CC:
blink-reviews, caseq+blink_chromium.org, loislo+blink_chromium.org, eustas+blink_chromium.org, alph+blink_chromium.org, yurys+blink_chromium.org, lushnikov+blink_chromium.org, vsevik+blink_chromium.org, pfeldman+blink_chromium.org, paulirish+reviews_chromium.org, apavlov+blink_chromium.org, devtools-reviews_chromium.org, aandrey+blink_chromium.org
Visibility:
Public.

Description

DevTools: Show user code location for wrapped console.log() calls. Instead of pointing to actual console.log() call done from a framework wrapper function, we should point to the user code. BUG=231007 R=pfeldman Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=170057

Patch Set 1 #

Total comments: 5

Patch Set 2 : addressed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+81 lines, -5 lines) Patch
A LayoutTests/inspector/console/console-log-wrapped-in-framework.html View 1 chunk +37 lines, -0 lines 0 comments Download
A LayoutTests/inspector/console/console-log-wrapped-in-framework-expected.txt View 1 chunk +7 lines, -0 lines 0 comments Download
A LayoutTests/inspector/console/resources/framework.js View 1 chunk +8 lines, -0 lines 0 comments Download
M Source/devtools/front_end/ConsoleViewMessage.js View 1 3 chunks +29 lines, -5 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
aandrey
6 years, 9 months ago (2014-03-25 17:37:50 UTC) #1
aandrey
https://codereview.chromium.org/211493002/diff/1/Source/devtools/front_end/ConsoleViewMessage.js File Source/devtools/front_end/ConsoleViewMessage.js (right): https://codereview.chromium.org/211493002/diff/1/Source/devtools/front_end/ConsoleViewMessage.js#newcode261 Source/devtools/front_end/ConsoleViewMessage.js:261: // FIXME: Cache the created RegExp object. this will ...
6 years, 9 months ago (2014-03-26 08:48:31 UTC) #2
pfeldman
lgtm. note that we might want same for formatting traces in timeline as well. https://codereview.chromium.org/211493002/diff/1/Source/devtools/front_end/ConsoleViewMessage.js ...
6 years, 9 months ago (2014-03-26 08:57:25 UTC) #3
aandrey
https://codereview.chromium.org/211493002/diff/1/Source/devtools/front_end/ConsoleViewMessage.js File Source/devtools/front_end/ConsoleViewMessage.js (right): https://codereview.chromium.org/211493002/diff/1/Source/devtools/front_end/ConsoleViewMessage.js#newcode258 Source/devtools/front_end/ConsoleViewMessage.js:258: if (WebInspector.experimentsSettings.frameworksDebuggingSupport.isEnabled() && WebInspector.settings.skipStackFramesSwitch.get()) { On 2014/03/26 08:57:25, pfeldman ...
6 years, 9 months ago (2014-03-26 09:30:18 UTC) #4
aandrey
The CQ bit was checked by aandrey@chromium.org
6 years, 9 months ago (2014-03-26 09:30:37 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/aandrey@chromium.org/211493002/70001
6 years, 9 months ago (2014-03-26 09:30:40 UTC) #6
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-26 09:39:36 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on win_blink_rel
6 years, 9 months ago (2014-03-26 09:39:36 UTC) #8
aandrey
The CQ bit was checked by aandrey@chromium.org
6 years, 9 months ago (2014-03-26 13:01:23 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/aandrey@chromium.org/211493002/70001
6 years, 9 months ago (2014-03-26 13:01:29 UTC) #10
commit-bot: I haz the power
6 years, 9 months ago (2014-03-26 13:36:18 UTC) #11
Message was sent while issue was closed.
Change committed as 170057

Powered by Google App Engine
This is Rietveld 408576698