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

Issue 24027002: DevTools: implement console.timeline/timelineEnd. (Closed)

Created:
7 years, 3 months ago by pfeldman
Modified:
7 years, 3 months ago
Reviewers:
caseq, yurys
CC:
blink-reviews, caseq+blink_chromium.org, loislo+blink_chromium.org, eustas+blink_chromium.org, alph+blink_chromium.org, eae+blinkwatch, yurys+blink_chromium.org, lushnikov+blink_chromium.org, vsevik+blink_chromium.org, pfeldman+blink_chromium.org, dglazkov+blink, paulirish+reviews_chromium.org, apavlov+blink_chromium.org, devtools-reviews_chromium.org, aandrey+blink_chromium.org, do-not-use
Visibility:
Public.

Description

DevTools: implement console.timeline/timelineEnd. BUG=265360 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=157827

Patch Set 1 #

Total comments: 13

Patch Set 2 : Added timeline enable/disable. #

Patch Set 3 : #

Patch Set 4 : Rebaselined. #

Patch Set 5 : w/ basic test #

Total comments: 1

Patch Set 6 : Review comments addressed. #

Patch Set 7 : #

Patch Set 8 : #

Total comments: 9

Patch Set 9 : Review comments addressed. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+637 lines, -114 lines) Patch
A LayoutTests/inspector/console/console-timeline.html View 1 2 3 4 5 1 chunk +202 lines, -0 lines 0 comments Download
A LayoutTests/inspector/console/console-timeline-expected.txt View 1 2 3 4 5 1 chunk +96 lines, -0 lines 0 comments Download
M Source/core/inspector/ConsoleAPITypes.h View 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/inspector/ConsoleMessage.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/inspector/InspectorConsoleAgent.h View 4 chunks +8 lines, -3 lines 0 comments Download
M Source/core/inspector/InspectorConsoleAgent.cpp View 5 chunks +16 lines, -5 lines 1 comment Download
M Source/core/inspector/InspectorController.cpp View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M Source/core/inspector/InspectorInstrumentation.idl View 1 2 3 1 chunk +8 lines, -5 lines 0 comments Download
M Source/core/inspector/InspectorProfilerAgent.h View 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/inspector/InspectorProfilerAgent.cpp View 2 chunks +0 lines, -8 lines 0 comments Download
M Source/core/inspector/InspectorTimelineAgent.h View 1 2 3 4 5 6 7 8 5 chunks +13 lines, -3 lines 0 comments Download
M Source/core/inspector/InspectorTimelineAgent.cpp View 1 2 3 4 5 6 7 8 6 chunks +101 lines, -19 lines 0 comments Download
M Source/core/inspector/PageConsoleAgent.h View 1 2 3 4 5 6 1 chunk +3 lines, -3 lines 0 comments Download
M Source/core/inspector/PageConsoleAgent.cpp View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/inspector/WorkerConsoleAgent.h View 1 chunk +3 lines, -3 lines 0 comments Download
M Source/core/inspector/WorkerConsoleAgent.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/inspector/WorkerInspectorController.cpp View 1 chunk +3 lines, -2 lines 0 comments Download
M Source/core/page/ConsoleBase.h View 1 chunk +4 lines, -2 lines 0 comments Download
M Source/core/page/ConsoleBase.cpp View 1 2 3 4 5 3 chunks +17 lines, -12 lines 0 comments Download
M Source/core/page/ConsoleBase.idl View 1 chunk +8 lines, -4 lines 0 comments Download
M Source/devtools/front_end/TimelineManager.js View 1 2 3 4 5 3 chunks +39 lines, -17 lines 0 comments Download
M Source/devtools/front_end/TimelineModel.js View 1 2 3 4 5 5 chunks +65 lines, -12 lines 0 comments Download
M Source/devtools/front_end/TimelinePanel.js View 1 2 3 5 chunks +21 lines, -7 lines 0 comments Download
M Source/devtools/protocol.json View 1 2 3 4 5 3 chunks +25 lines, -1 line 0 comments Download

Messages

Total messages: 13 (0 generated)
pfeldman
Please take a look while I'm working on the tests.
7 years, 3 months ago (2013-09-06 07:08:29 UTC) #1
yurys
https://codereview.chromium.org/24027002/diff/1/Source/core/inspector/InspectorConsoleAgent.h File Source/core/inspector/InspectorConsoleAgent.h (left): https://codereview.chromium.org/24027002/diff/1/Source/core/inspector/InspectorConsoleAgent.h#oldcode83 Source/core/inspector/InspectorConsoleAgent.h:83: void startConsoleTiming(ScriptExecutionContext*, const String& title); Can you land this ...
7 years, 3 months ago (2013-09-06 07:56:45 UTC) #2
caseq
https://codereview.chromium.org/24027002/diff/1/Source/core/inspector/InspectorConsoleAgent.h File Source/core/inspector/InspectorConsoleAgent.h (right): https://codereview.chromium.org/24027002/diff/1/Source/core/inspector/InspectorConsoleAgent.h#newcode85 Source/core/inspector/InspectorConsoleAgent.h:85: void consoleTimeEnd(ScriptExecutionContext*, const String& title, ScriptState*); Do we need ...
7 years, 3 months ago (2013-09-06 09:25:45 UTC) #3
pfeldman
https://codereview.chromium.org/24027002/diff/1/Source/core/inspector/InspectorConsoleAgent.h File Source/core/inspector/InspectorConsoleAgent.h (left): https://codereview.chromium.org/24027002/diff/1/Source/core/inspector/InspectorConsoleAgent.h#oldcode83 Source/core/inspector/InspectorConsoleAgent.h:83: void startConsoleTiming(ScriptExecutionContext*, const String& title); On 2013/09/06 07:56:45, Yury ...
7 years, 3 months ago (2013-09-06 16:10:30 UTC) #4
caseq
On 2013/09/06 16:10:30, pfeldman wrote: > > https://codereview.chromium.org/24027002/diff/1/Source/core/inspector/InspectorConsoleAgent.h > File Source/core/inspector/InspectorConsoleAgent.h (right): > > https://codereview.chromium.org/24027002/diff/1/Source/core/inspector/InspectorConsoleAgent.h#newcode85 ...
7 years, 3 months ago (2013-09-09 08:37:45 UTC) #5
caseq
https://codereview.chromium.org/24027002/diff/16001/Source/devtools/front_end/TimelineManager.js File Source/devtools/front_end/TimelineManager.js (right): https://codereview.chromium.org/24027002/diff/16001/Source/devtools/front_end/TimelineManager.js#newcode76 Source/devtools/front_end/TimelineManager.js:76: TimelineAgent.stop(callback); So, your implementation of InspectorTimelineAgent::stop() stops timeline unconditionally ...
7 years, 3 months ago (2013-09-09 08:51:16 UTC) #6
pfeldman
PTAL https://codereview.chromium.org/24027002/diff/1/Source/core/inspector/InspectorController.cpp File Source/core/inspector/InspectorController.cpp (right): https://codereview.chromium.org/24027002/diff/1/Source/core/inspector/InspectorController.cpp#newcode120 Source/core/inspector/InspectorController.cpp:120: OwnPtr<InspectorConsoleAgent> consoleAgentPtr(PageConsoleAgent::create(m_instrumentingAgents.get(), m_timelineAgent, m_state.get(), m_injectedScriptManager.get(), domAgent)); On 2013/09/06 ...
7 years, 3 months ago (2013-09-13 13:03:33 UTC) #7
caseq
https://codereview.chromium.org/24027002/diff/27001/Source/core/inspector/InspectorTimelineAgent.cpp File Source/core/inspector/InspectorTimelineAgent.cpp (right): https://codereview.chromium.org/24027002/diff/27001/Source/core/inspector/InspectorTimelineAgent.cpp#newcode203 Source/core/inspector/InspectorTimelineAgent.cpp:203: innerStart(false); This will send a duplicate notification to front-end. ...
7 years, 3 months ago (2013-09-13 15:00:22 UTC) #8
pfeldman
PTAL https://codereview.chromium.org/24027002/diff/27001/Source/core/inspector/InspectorTimelineAgent.cpp File Source/core/inspector/InspectorTimelineAgent.cpp (right): https://codereview.chromium.org/24027002/diff/27001/Source/core/inspector/InspectorTimelineAgent.cpp#newcode203 Source/core/inspector/InspectorTimelineAgent.cpp:203: innerStart(false); On 2013/09/13 15:00:23, caseq wrote: > This ...
7 years, 3 months ago (2013-09-13 15:21:02 UTC) #9
caseq
https://codereview.chromium.org/24027002/diff/21001/Source/core/inspector/InspectorConsoleAgent.cpp File Source/core/inspector/InspectorConsoleAgent.cpp (right): https://codereview.chromium.org/24027002/diff/21001/Source/core/inspector/InspectorConsoleAgent.cpp#newcode222 Source/core/inspector/InspectorConsoleAgent.cpp:222: addMessageToConsole(ConsoleAPIMessageSource, LogMessageType, DebugMessageLevel, message, String(), 0, 0, state); are ...
7 years, 3 months ago (2013-09-13 15:36:17 UTC) #10
caseq
lgtm Note that it may be counter-intuitive for user that timeline settings (e.g. stack capture ...
7 years, 3 months ago (2013-09-13 15:50:31 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pfeldman@chromium.org/24027002/21001
7 years, 3 months ago (2013-09-16 13:33:18 UTC) #12
commit-bot: I haz the power
7 years, 3 months ago (2013-09-16 15:34:34 UTC) #13
Message was sent while issue was closed.
Change committed as 157827

Powered by Google App Engine
This is Rietveld 408576698