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

Issue 6366021: Adding support for JavaScript internationalization API as V8 extension. See p... (Closed)

Created:
9 years, 11 months ago by Nebojša Ćirić
Modified:
9 years, 7 months ago
CC:
chromium-reviews, darin-cc_chromium.org, pam+watch_chromium.org, brettw-cc_chromium.org
Visibility:
Public.

Description

Adding support for JavaScript internationalization API as V8 extension. See proposal at http://wiki.ecmascript.org/doku.php?id=strawman:i18n_api. V8 hosts the actual extension code under src/extensions/experimental/i18n-extension.{cc,h}. This CL passes command line switches to WebKit (disabled by default) and test shell (enabled by default), using WebRuntimeFeatures. It also sets some gyp variables to point to ICU source path, and defines a guard for a new feature. It should be submitted only after corresponding WebKit CL (https://bugs.webkit.org/show_bug.cgi?id=49414) lands. BUG=28604 TEST=LayoutTests/fast/js/i18n-bindings-locale.html Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=74491

Patch Set 1 #

Total comments: 1

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -0 lines) Patch
M build/common.gypi View 1 1 chunk +3 lines, -0 lines 0 comments Download
M build/features_override.gypi View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/renderer_host/browser_render_process_host.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/chrome_switches.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/chrome_switches.cc View 1 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/renderer/render_thread.cc View 1 1 chunk +3 lines, -0 lines 0 comments Download
M webkit/tools/test_shell/test_shell_webkit_init.cc View 1 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Nebojša Ćirić
This is a final piece to the i18n APIs plumbing effort. I'll put it to ...
9 years, 11 months ago (2011-01-27 22:42:20 UTC) #1
jungshik at Google
lgtm ! http://codereview.chromium.org/6366021/diff/1/chrome/common/chrome_switches.cc File chrome/common/chrome_switches.cc (right): http://codereview.chromium.org/6366021/diff/1/chrome/common/chrome_switches.cc#newcode527 chrome/common/chrome_switches.cc:527: const char kEnableJavaScriptI18NAPI[] = "enable-experimental-js-i18n-api"; nit: flag ...
9 years, 11 months ago (2011-01-27 23:49:47 UTC) #2
Nebojša Ćirić
WebKit and Chromium have enable-javascript-i18n-api now in all places (define guard and command line flags). ...
9 years, 10 months ago (2011-02-10 00:31:21 UTC) #3
jungshik at Google
9 years, 10 months ago (2011-02-10 19:31:31 UTC) #4
On 2011/02/10 00:31:21, Nebojša Ćirić wrote:
> WebKit and Chromium have enable-javascript-i18n-api now in all places (define
> guard and command line flags).

Great !
> 
> I am waiting for webkit roll to do try bot run and submit this one.
> 
> On 2011/01/27 23:49:47, Jungshik Shin wrote:
> > lgtm !
> > 
> >
http://codereview.chromium.org/6366021/diff/1/chrome/common/chrome_switches.cc
> > File chrome/common/chrome_switches.cc (right):
> > 
> >
>
http://codereview.chromium.org/6366021/diff/1/chrome/common/chrome_switches.c...
> > chrome/common/chrome_switches.cc:527: const char kEnableJavaScriptI18NAPI[] 
 
>  
> >  = "enable-experimental-js-i18n-api";
> > nit:
> > flag name, variable names and webkit feature flag are all slightly different
> > (with / without epxerimental, with or without javascript etc). It may be a
bit
> > confusing.
> > 
> > I like {enable, javascript, i18n, api}, but WebkitFeature (upstream change)
> uses
> > {enable, experimental, i18n, api}.  Maybe, we'd better be consistent and use
> > that everywhere (although having JavaScript  would be better). 
> > 
> > Anyway, it's not that important and it's up to you.

Powered by Google App Engine
This is Rietveld 408576698