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

Issue 2410933002: [inspector] fix timestamp formatting with non C locales (Closed)

Created:
4 years, 2 months ago by kozy
Modified:
4 years, 2 months ago
Reviewers:
dgozman
CC:
devtools-reviews_chromium.org, v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[inspector] fix timestamp formatting with non C locales If current locale has "," as decimal separator then message for consoleAPICalled will be corrupted. BUG=chromium:653424 R=dgozman@chromium.org Committed: https://crrev.com/dde5ef75cbac1eb7e2dae59b246e4a0d0ba6a0f4 Committed: https://crrev.com/7ba222ffcb4c330959f3ebb69ab52a4fd2a3646b Cr-Original-Commit-Position: refs/heads/master@{#40190} Cr-Commit-Position: refs/heads/master@{#40288}

Patch Set 1 #

Patch Set 2 : better test #

Total comments: 4

Patch Set 3 : using stringstream #

Total comments: 6

Patch Set 4 : addressed comments #

Patch Set 5 : enable inspector for try run #

Patch Set 6 : fixed conversion #

Patch Set 7 : a #

Unified diffs Side-by-side diffs Delta from patch set Stats (+214 lines, -23 lines) Patch
M src/inspector/string-16.h View 1 2 3 4 5 1 chunk +1 line, -2 lines 0 comments Download
M src/inspector/string-16.cc View 1 2 3 4 5 2 chunks +12 lines, -17 lines 0 comments Download
M src/inspector/v8-console.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/inspector/v8-console-message.cc View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M test/inspector/inspector-test.cc View 4 chunks +20 lines, -1 line 0 comments Download
A test/inspector/runtime/protocol-works-with-different-locale.js View 1 2 3 1 chunk +40 lines, -0 lines 0 comments Download
A test/inspector/runtime/protocol-works-with-different-locale-expected.txt View 1 2 1 chunk +138 lines, -0 lines 0 comments Download

Messages

Total messages: 31 (18 generated)
kozy
Dmitry, please take a look.
4 years, 2 months ago (2016-10-11 17:12:16 UTC) #1
dgozman
https://codereview.chromium.org/2410933002/diff/20001/src/inspector/string-16.cc File src/inspector/string-16.cc (right): https://codereview.chromium.org/2410933002/diff/20001/src/inspector/string-16.cc#newcode383 src/inspector/string-16.cc:383: String16 String16::fromDouble(double number) { I don't think we ever ...
4 years, 2 months ago (2016-10-11 19:35:07 UTC) #2
kozy
All done. Please take a look. After small research I found that all printf* like ...
4 years, 2 months ago (2016-10-11 20:55:52 UTC) #3
dgozman
lgtm https://codereview.chromium.org/2410933002/diff/40001/src/inspector/string-16.cc File src/inspector/string-16.cc (right): https://codereview.chromium.org/2410933002/diff/40001/src/inspector/string-16.cc#newcode402 src/inspector/string-16.cc:402: String16 String16::fromDoublePrecision6(double number) { Let's combine with previous ...
4 years, 2 months ago (2016-10-11 21:03:35 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2410933002/120001
4 years, 2 months ago (2016-10-11 22:26:06 UTC) #15
kozy
all done! https://codereview.chromium.org/2410933002/diff/40001/src/inspector/string-16.cc File src/inspector/string-16.cc (right): https://codereview.chromium.org/2410933002/diff/40001/src/inspector/string-16.cc#newcode402 src/inspector/string-16.cc:402: String16 String16::fromDoublePrecision6(double number) { On 2016/10/11 21:03:35, ...
4 years, 2 months ago (2016-10-11 22:26:15 UTC) #16
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 2 months ago (2016-10-11 23:21:59 UTC) #17
commit-bot: I haz the power
Patchset 7 (id:??) landed as https://crrev.com/dde5ef75cbac1eb7e2dae59b246e4a0d0ba6a0f4 Cr-Commit-Position: refs/heads/master@{#40190}
4 years, 2 months ago (2016-10-11 23:22:18 UTC) #19
Michael Achenbach
A revert of this CL (patchset #7 id:120001) has been created in https://codereview.chromium.org/2419453002/ by machenbach@chromium.org. ...
4 years, 2 months ago (2016-10-12 08:18:09 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2410933002/120001
4 years, 2 months ago (2016-10-13 20:02:41 UTC) #27
kozy
Tests were marked as needed rebaseline, v8_blink bot passed successfully.
4 years, 2 months ago (2016-10-13 20:03:14 UTC) #28
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 2 months ago (2016-10-13 20:31:37 UTC) #29
commit-bot: I haz the power
4 years, 2 months ago (2016-10-13 20:32:16 UTC) #31
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/7ba222ffcb4c330959f3ebb69ab52a4fd2a3646b
Cr-Commit-Position: refs/heads/master@{#40288}

Powered by Google App Engine
This is Rietveld 408576698