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

Issue 8922021: Print Preview: Fixing parsing of numberFormat for several locales. (Closed)

Created:
9 years ago by dpapad
Modified:
9 years ago
CC:
chromium-reviews, arv (Not doing code reviews)
Visibility:
Public.

Description

Print Preview: Fixing parsing of numberFormat for several locales. BUG=104858 TEST=NONE Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=114167

Patch Set 1 #

Patch Set 2 : Fixing parsing of numberFormat #

Total comments: 4

Patch Set 3 : Adding unit tests, making regex more general. #

Patch Set 4 : Changed fallback format #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -5 lines) Patch
M chrome/browser/resources/print_preview/margin_settings.js View 1 2 2 chunks +4 lines, -5 lines 0 comments Download
M chrome/browser/resources/print_preview/print_preview_utils.js View 1 2 3 1 chunk +16 lines, -0 lines 0 comments Download
M chrome/browser/resources/print_preview/print_preview_utils_unittest.gtestjs View 1 2 3 1 chunk +18 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
dpapad
I am planning to add some tests for the regular expression used before landing this ...
9 years ago (2011-12-12 23:58:06 UTC) #1
Lei Zhang
http://codereview.chromium.org/8922021/diff/4001/chrome/browser/resources/print_preview/margin_settings.js File chrome/browser/resources/print_preview/margin_settings.js (right): http://codereview.chromium.org/8922021/diff/4001/chrome/browser/resources/print_preview/margin_settings.js#newcode179 chrome/browser/resources/print_preview/margin_settings.js:179: var matches = numberFormat.match(regex) || ['','','.','',',']; On 2011/12/12 23:58:06, ...
9 years ago (2011-12-13 00:16:02 UTC) #2
dpapad
Added unit tests and made the regex more general.
9 years ago (2011-12-13 01:00:15 UTC) #3
dpapad1
http://codereview.chromium.org/8922021/diff/4001/chrome/browser/resources/print_preview/margin_settings.js File chrome/browser/resources/print_preview/margin_settings.js (right): http://codereview.chromium.org/8922021/diff/4001/chrome/browser/resources/print_preview/margin_settings.js#newcode179 chrome/browser/resources/print_preview/margin_settings.js:179: var matches = numberFormat.match(regex) || ['','','.','',',']; On 2011/12/13 00:16:02, ...
9 years ago (2011-12-13 01:01:19 UTC) #4
Lei Zhang
On 2011/12/13 01:01:19, dpapad1 wrote: > http://codereview.chromium.org/8922021/diff/4001/chrome/browser/resources/print_preview/margin_settings.js > File chrome/browser/resources/print_preview/margin_settings.js (right): > > http://codereview.chromium.org/8922021/diff/4001/chrome/browser/resources/print_preview/margin_settings.js#newcode179 > ...
9 years ago (2011-12-13 01:06:20 UTC) #5
dpapad1
http://codereview.chromium.org/8922021/diff/4001/chrome/browser/resources/print_preview/margin_settings.js File chrome/browser/resources/print_preview/margin_settings.js (right): http://codereview.chromium.org/8922021/diff/4001/chrome/browser/resources/print_preview/margin_settings.js#newcode179 chrome/browser/resources/print_preview/margin_settings.js:179: var matches = numberFormat.match(regex) || ['','','.','',',']; On 2011/12/13 01:01:19, ...
9 years ago (2011-12-13 01:11:30 UTC) #6
Lei Zhang
lgtm
9 years ago (2011-12-13 01:15:44 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dpapad@chromium.org/8922021/4007
9 years ago (2011-12-13 01:17:14 UTC) #8
commit-bot: I haz the power
Try job failure for 8922021-4007 on win_rel for steps "update_scripts, update". http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=4402 Step "update" is ...
9 years ago (2011-12-13 01:19:13 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dpapad@chromium.org/8922021/4007
9 years ago (2011-12-13 01:22:24 UTC) #10
commit-bot: I haz the power
I fixed the slave, it was dead. Le 12 décembre 2011 20:22, <commit-bot@chromium.org> a écrit ...
9 years ago (2011-12-13 01:40:18 UTC) #11
commit-bot: I haz the power
9 years ago (2011-12-13 03:05:22 UTC) #12
Change committed as 114167

Powered by Google App Engine
This is Rietveld 408576698