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

Issue 185713007: DevTools: Add timestamp support in the console (Closed)

Created:
6 years, 9 months ago by kenneth.r.christiansen
Modified:
6 years, 9 months ago
Reviewers:
eustas, apavlov, 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: Add timestamp support in the console Add a setting which when enabled will append a time stamp to each message in the console. BUG=131714 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=170055

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : Make repeat count work #

Total comments: 2

Patch Set 5 : #

Total comments: 15

Patch Set 6 : #

Patch Set 7 : Almost there, please look #

Patch Set 8 : Up for review #

Total comments: 16

Patch Set 9 : Fixed apavlov's comments #

Total comments: 2

Patch Set 10 : Fixed remaining comments #

Patch Set 11 : Rebased #

Patch Set 12 : Fixed tests, hopefully #

Patch Set 13 : #

Total comments: 1

Patch Set 14 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+149 lines, -17 lines) Patch
A LayoutTests/inspector/console/console-timestamp.html View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +53 lines, -0 lines 0 comments Download
A LayoutTests/inspector/console/console-timestamp-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +10 lines, -0 lines 0 comments Download
M Source/devtools/front_end/ConsoleModel.js View 1 2 3 4 5 6 7 8 9 10 5 chunks +15 lines, -12 lines 0 comments Download
M Source/devtools/front_end/ConsoleView.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +4 lines, -5 lines 0 comments Download
M Source/devtools/front_end/ConsoleViewMessage.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +27 lines, -0 lines 0 comments Download
M Source/devtools/front_end/Settings.js View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M Source/devtools/front_end/SettingsScreen.js View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download
M Source/devtools/front_end/inspector.css View 1 2 3 4 5 6 7 8 9 10 1 chunk +6 lines, -0 lines 0 comments Download
M Source/devtools/front_end/utilities.js View 1 2 3 4 5 6 7 8 9 10 1 chunk +32 lines, -0 lines 0 comments Download

Messages

Total messages: 28 (0 generated)
kenneth.r.christiansen
6 years, 9 months ago (2014-03-04 13:03:27 UTC) #1
kenneth.r.christiansen
Screenshot: i.imgur.com/gQLEFaj.png
6 years, 9 months ago (2014-03-04 13:17:56 UTC) #2
kenneth.r.christiansen
6 years, 9 months ago (2014-03-04 13:21:17 UTC) #3
apavlov
https://codereview.chromium.org/185713007/diff/50001/Source/devtools/front_end/ConsoleViewMessage.js File Source/devtools/front_end/ConsoleViewMessage.js (right): https://codereview.chromium.org/185713007/diff/50001/Source/devtools/front_end/ConsoleViewMessage.js#newcode885 Source/devtools/front_end/ConsoleViewMessage.js:885: timestamp.textContent = new Date(this._message.timestamp * 1000).toISOString().replace("T", " ").replace("Z", ""); ...
6 years, 9 months ago (2014-03-04 14:06:45 UTC) #4
kenneth.r.christiansen
Fixed the concerns
6 years, 9 months ago (2014-03-04 18:08:04 UTC) #5
apavlov
https://codereview.chromium.org/185713007/diff/70001/LayoutTests/inspector/console/console-timestamp.html File LayoutTests/inspector/console/console-timestamp.html (right): https://codereview.chromium.org/185713007/diff/70001/LayoutTests/inspector/console/console-timestamp.html#newcode13 LayoutTests/inspector/console/console-timestamp.html:13: "PASS", It is desirable to have some text different ...
6 years, 9 months ago (2014-03-06 09:56:19 UTC) #6
kenneth.r.christiansen
On 2014/03/06 09:56:19, apavlov wrote: > https://codereview.chromium.org/185713007/diff/70001/LayoutTests/inspector/console/console-timestamp.html > File LayoutTests/inspector/console/console-timestamp.html (right): > > https://codereview.chromium.org/185713007/diff/70001/LayoutTests/inspector/console/console-timestamp.html#newcode13 > ...
6 years, 9 months ago (2014-03-06 15:31:22 UTC) #7
eustas
https://codereview.chromium.org/185713007/diff/70001/Source/devtools/front_end/ConsoleModel.js File Source/devtools/front_end/ConsoleModel.js (right): https://codereview.chromium.org/185713007/diff/70001/Source/devtools/front_end/ConsoleModel.js#newcode240 Source/devtools/front_end/ConsoleModel.js:240: // Timestamp doesn't affect equality. This will cause grouping ...
6 years, 9 months ago (2014-03-06 15:40:04 UTC) #8
kenneth.r.christiansen
> https://codereview.chromium.org/185713007/diff/70001/Source/devtools/front_end/ConsoleModel.js#newcode240 > Source/devtools/front_end/ConsoleModel.js:240: // Timestamp doesn't affect > equality. > This will cause grouping ...
6 years, 9 months ago (2014-03-06 16:42:41 UTC) #9
eustas
On 2014/03/06 16:42:41, kenneth.r.christiansen wrote: > > > https://codereview.chromium.org/185713007/diff/70001/Source/devtools/front_end/ConsoleModel.js#newcode240 > > Source/devtools/front_end/ConsoleModel.js:240: // Timestamp doesn't ...
6 years, 9 months ago (2014-03-11 05:23:10 UTC) #10
kenneth.r.christiansen
Please review. I especially need advice for how to deal with the protocol changes.
6 years, 9 months ago (2014-03-21 08:55:40 UTC) #11
apavlov
Looks mostly good! Waiting for protocol folks to comment. https://codereview.chromium.org/185713007/diff/110001/LayoutTests/inspector/console/console-timestamp.html File LayoutTests/inspector/console/console-timestamp.html (right): https://codereview.chromium.org/185713007/diff/110001/LayoutTests/inspector/console/console-timestamp.html#newcode26 LayoutTests/inspector/console/console-timestamp.html:26: ...
6 years, 9 months ago (2014-03-21 09:30:45 UTC) #12
kenneth.r.christiansen
Fixed all comments
6 years, 9 months ago (2014-03-21 14:39:48 UTC) #13
apavlov
https://codereview.chromium.org/185713007/diff/130001/Source/core/inspector/InspectorConsoleAgent.cpp File Source/core/inspector/InspectorConsoleAgent.cpp (right): https://codereview.chromium.org/185713007/diff/130001/Source/core/inspector/InspectorConsoleAgent.cpp#newcode308 Source/core/inspector/InspectorConsoleAgent.cpp:308: ConsoleMessage* msg = consoleMessage.get(); Blink style does not honor ...
6 years, 9 months ago (2014-03-21 14:47:57 UTC) #14
apavlov
lgtm
6 years, 9 months ago (2014-03-21 15:12:22 UTC) #15
kenneth.r.christiansen
ping protocol owners :-)
6 years, 9 months ago (2014-03-24 17:49:00 UTC) #16
apavlov
Kenneth, please rebase your patch, as sergeyv has also removed the repeat counts :)
6 years, 9 months ago (2014-03-25 16:21:17 UTC) #17
pfeldman
Hey. There has been an unfortunate incident where message counters were removed in r169953 (for ...
6 years, 9 months ago (2014-03-25 16:25:26 UTC) #18
kenneth.r.christiansen
On 2014/03/25 16:25:26, pfeldman wrote: > Hey. There has been an unfortunate incident where message ...
6 years, 9 months ago (2014-03-25 17:13:36 UTC) #19
apavlov
lgtm
6 years, 9 months ago (2014-03-26 11:51:42 UTC) #20
apavlov
https://codereview.chromium.org/185713007/diff/330001/Source/devtools/front_end/ConsoleView.js File Source/devtools/front_end/ConsoleView.js (right): https://codereview.chromium.org/185713007/diff/330001/Source/devtools/front_end/ConsoleView.js#newcode425 Source/devtools/front_end/ConsoleView.js:425: this._messageToViewMessage.get(this._previousMessage).incrementRepeatCount(message.timestamp); I'd rename this method to avoid any confusion
6 years, 9 months ago (2014-03-26 11:53:10 UTC) #21
kenneth.r.christiansen
The CQ bit was checked by kenneth.r.christiansen@intel.com
6 years, 9 months ago (2014-03-26 12:25:56 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kenneth.r.christiansen@intel.com/185713007/460001
6 years, 9 months ago (2014-03-26 12:26:02 UTC) #23
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-26 12:47:41 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on win_blink_compile_dbg
6 years, 9 months ago (2014-03-26 12:47:41 UTC) #25
kenneth.r.christiansen
The CQ bit was checked by kenneth.r.christiansen@intel.com
6 years, 9 months ago (2014-03-26 12:53:39 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kenneth.r.christiansen@intel.com/185713007/460001
6 years, 9 months ago (2014-03-26 12:53:51 UTC) #27
commit-bot: I haz the power
6 years, 9 months ago (2014-03-26 13:28:07 UTC) #28
Message was sent while issue was closed.
Change committed as 170055

Powered by Google App Engine
This is Rietveld 408576698