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

Issue 6626070: Fix the settings page for es-419 locale: Spanish (Latin America). (Closed)

Created:
9 years, 9 months ago by satorux1
Modified:
9 years, 7 months ago
CC:
chromium-reviews, Ilya Sherman, Paweł Hajdan Jr., James Hawkins, dhollowa
Visibility:
Public.

Description

Fix the settings page for es-419 locale: Spanish (Latin America). Before the fix, the settings page for es-419 was half broken as there was an JavaScript error like below while loading the page. Uncaught TypeError: Cannot read property 'name' of undefined The error was caused by the fact that "419" isn't a valid country code. BUG=chromium-os:12857 TEST=open the "Languages and Input" settings on Chromium OS, and confirmed that it's shown correctly. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=77402

Patch Set 1 #

Total comments: 2

Patch Set 2 : fixed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -1 line) Patch
M chrome/browser/autofill/autofill_country.cc View 1 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/autofill/autofill_country_unittest.cc View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
satorux1
9 years, 9 months ago (2011-03-08 10:17:17 UTC) #1
satorux1
I haven't tested but this issue probably reproduces on platforms other than Chrome OS. This ...
9 years, 9 months ago (2011-03-08 10:20:37 UTC) #2
Ilya Sherman
Thanks for tracking this down! I agree that we should probably merge this to M11. ...
9 years, 9 months ago (2011-03-08 10:35:18 UTC) #3
satorux1
http://codereview.chromium.org/6626070/diff/1/chrome/browser/autofill/autofill_country.cc File chrome/browser/autofill/autofill_country.cc (right): http://codereview.chromium.org/6626070/diff/1/chrome/browser/autofill/autofill_country.cc#newcode394 chrome/browser/autofill/autofill_country.cc:394: std::string::npos) On 2011/03/08 10:35:18, Ilya Sherman wrote: > Probably ...
9 years, 9 months ago (2011-03-08 11:28:10 UTC) #4
Ilya Sherman
9 years, 9 months ago (2011-03-08 22:15:19 UTC) #5
LGTM, thanks!

Powered by Google App Engine
This is Rietveld 408576698