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

Issue 2717613005: [intl] Fix NumberFormat options handling spec compliance issues (Closed)

Created:
3 years, 10 months ago by Dan Ehrenberg
Modified:
3 years, 8 months ago
CC:
v8-reviews_googlegroups.com, Yang
Target Ref:
refs/heads/master
Project:
v8
Visibility:
Public.

Description

[intl] Fix NumberFormat options handling spec compliance issues The goal of this patch was to refactor NumberFormat parameter handling to be usable by a PluralRules implementation. Along the way, I found and fixed a couple minor issues where options handling differed from the specification, and removed some dead code. Regression tests are added as test262 tests. With this change, the overall flow more closely resembles the specification plus this editorial change which is out for review: https://github.com/tc39/ecma402/pull/130/files BUG=v8:6015, v8:6016 R=yangguo,jungshik Review-Url: https://codereview.chromium.org/2717613005 Cr-Commit-Position: refs/heads/master@{#44571} Committed: https://chromium.googlesource.com/v8/v8/+/38c5394ccb50a9e87cda5ab297fba34a36387276

Patch Set 1 #

Patch Set 2 : Fix issues #

Patch Set 3 : Slight cleanup #

Total comments: 1

Patch Set 4 : Rebase #

Patch Set 5 : Run the local test262 tests #

Total comments: 2

Patch Set 6 : Rebase and fix nit #

Total comments: 5

Patch Set 7 : Fix rebase #

Patch Set 8 : Add a TODO #

Patch Set 9 : Rebase #

Patch Set 10 : Remove test262 failure expectation line #

Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -68 lines) Patch
M src/i18n.cc View 1 2 3 4 5 6 1 chunk +0 lines, -17 lines 0 comments Download
M src/js/i18n.js View 1 2 3 4 5 6 7 8 6 chunks +38 lines, -46 lines 0 comments Download
M src/runtime/runtime.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M src/runtime/runtime-i18n.cc View 1 2 3 4 5 6 7 1 chunk +23 lines, -0 lines 0 comments Download
M test/test262/test262.status View 1 2 3 4 5 6 7 8 9 2 chunks +0 lines, -5 lines 0 comments Download

Messages

Total messages: 55 (42 generated)
Dan Ehrenberg
3 years, 10 months ago (2017-02-24 19:49:45 UTC) #13
Dan Ehrenberg
https://codereview.chromium.org/2717613005/diff/40001/src/runtime/runtime-i18n.cc File src/runtime/runtime-i18n.cc (right): https://codereview.chromium.org/2717613005/diff/40001/src/runtime/runtime-i18n.cc#newcode561 src/runtime/runtime-i18n.cc:561: icu::UnicodeString::fromUTF8(*currency_string); Yes, this is a terrible way to get ...
3 years, 10 months ago (2017-02-24 19:51:21 UTC) #14
Dan Ehrenberg
PTAL
3 years, 9 months ago (2017-03-04 20:03:25 UTC) #17
adamk
Code lgtm, but deferring to jshin@ on the i18n-specific behavior changes. https://codereview.chromium.org/2717613005/diff/100001/src/runtime/runtime-i18n.cc File src/runtime/runtime-i18n.cc (right): ...
3 years, 9 months ago (2017-03-16 22:47:49 UTC) #29
Dan Ehrenberg
Note that none of the changes here actually get at the real content of internationalization; ...
3 years, 9 months ago (2017-03-17 09:36:01 UTC) #30
adamk
Even aside from the spec, jshin's a better reviewer for the i18n.{cc,js} changes just from ...
3 years, 9 months ago (2017-03-17 16:58:32 UTC) #31
jungshik at Google
On 2017/03/17 16:58:32, adamk wrote: > Even aside from the spec, jshin's a better reviewer ...
3 years, 9 months ago (2017-03-21 19:28:03 UTC) #32
jungshik at Google
LGTM with two typos below fixed. https://codereview.chromium.org/2717613005/diff/120001/src/runtime/runtime-i18n.cc File src/runtime/runtime-i18n.cc (right): https://codereview.chromium.org/2717613005/diff/120001/src/runtime/runtime-i18n.cc#newcode560 src/runtime/runtime-i18n.cc:560: v8::String::Utf8Value currency_string(v8::Utils::ToLocal(currency)); JFYI: ...
3 years, 9 months ago (2017-03-21 20:29:35 UTC) #33
Dan Ehrenberg
https://codereview.chromium.org/2717613005/diff/120001/src/runtime/runtime-i18n.cc File src/runtime/runtime-i18n.cc (right): https://codereview.chromium.org/2717613005/diff/120001/src/runtime/runtime-i18n.cc#newcode560 src/runtime/runtime-i18n.cc:560: v8::String::Utf8Value currency_string(v8::Utils::ToLocal(currency)); On 2017/03/21 20:29:34, jungshik at Google wrote: ...
3 years, 8 months ago (2017-04-07 11:34:00 UTC) #38
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/2717613005/160001
3 years, 8 months ago (2017-04-10 14:43:51 UTC) #43
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux64_gyp_rel_ng on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_gyp_rel_ng/builds/16548) v8_linux64_verify_csa_rel_ng on master.tryserver.v8 (JOB_FAILED, ...
3 years, 8 months ago (2017-04-10 14:45:22 UTC) #45
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/2717613005/200001
3 years, 8 months ago (2017-04-11 12:04:40 UTC) #52
commit-bot: I haz the power
3 years, 8 months ago (2017-04-11 12:51:49 UTC) #55
Message was sent while issue was closed.
Committed patchset #10 (id:200001) as
https://chromium.googlesource.com/v8/v8/+/38c5394ccb50a9e87cda5ab297fba34a363...

Powered by Google App Engine
This is Rietveld 408576698