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

Issue 2629763003: Fix two DCHECK failures in ICU case mapping code (Closed)

Created:
3 years, 11 months ago by jungshik at Google
Modified:
3 years, 11 months ago
Reviewers:
Dan Ehrenberg
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Fix two DCHECK failures in ICU case mapping code 1. DCHECK in runtime-i18n.cc for case mapping was wrong to assume that the longest primary language tag is 3 characters. BCP 47 actually allows up to 8 characters. 2. GetFlatContent() was called to a string without flattening it first. BUG=680314, 680464 TEST=intl/general/case-mapping (see also the bugs) Review-Url: https://codereview.chromium.org/2629763003 Cr-Commit-Position: refs/heads/master@{#42343} Committed: https://chromium.googlesource.com/v8/v8/+/ac9e628539eec41ebdd7142eebb324683dfe46b7

Patch Set 1 #

Patch Set 2 : fix 680464 as well #

Patch Set 3 : add more tests/check #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -2 lines) Patch
M src/runtime/runtime-i18n.cc View 1 2 5 chunks +7 lines, -2 lines 0 comments Download
M test/intl/general/case-mapping.js View 1 2 2 chunks +33 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (10 generated)
jungshik at Google
Dan, can you take a look? Thanks
3 years, 11 months ago (2017-01-13 00:50:27 UTC) #2
Dan Ehrenberg
On 2017/01/13 00:50:27, jungshik at Google (ooo) wrote: > Dan, can you take a look? ...
3 years, 11 months ago (2017-01-13 02:24:00 UTC) #4
jungshik at Google
On 2017/01/13 02:24:00, Dan Ehrenberg wrote: > On 2017/01/13 00:50:27, jungshik at Google (ooo) wrote: ...
3 years, 11 months ago (2017-01-13 17:56:40 UTC) #5
jungshik at Google
On 2017/01/13 17:56:40, jungshik at Google (ooo) wrote: > On 2017/01/13 02:24:00, Dan Ehrenberg wrote: ...
3 years, 11 months ago (2017-01-13 20:12:13 UTC) #10
Dan Ehrenberg
lgtm
3 years, 11 months ago (2017-01-13 20:52:56 UTC) #12
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/2629763003/40001
3 years, 11 months ago (2017-01-13 23:10:48 UTC) #14
commit-bot: I haz the power
3 years, 11 months ago (2017-01-13 23:12:49 UTC) #17
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/v8/v8/+/ac9e628539eec41ebdd7142eebb324683df...

Powered by Google App Engine
This is Rietveld 408576698