2011-02-09 Nebojsa Ciric <cira@chromium.org>
Reviewed by Darin Fisher.
Implements Locale object of JavaScript internationalization API proposal, as an
v8 extension. Extension code is hosted in v8 project (src/extensions/experimental/i18n-extension.{cc,h})
and in this patch we just provide flags, tests and build rules for chromium port.
https://bugs.webkit.org/show_bug.cgi?id=49414
* fast/js/i18n-bindings-locale-expected.txt: Added.
* fast/js/i18n-bindings-locale.html: Added.
* fast/js/script-tests/i18n-bindings-locale.js: Added.
(reportResult):
(localeTests.this.defaultLocale):
(localeTests.this.baseLocale):
(localeTests.this.languageScriptLocale):
(localeTests.this.languageScriptRegionLocale):
(localeTests.this.languageScriptRegionExtensionLocale):
(localeTests.this.languageScriptRegionDashUExtensionLocale):
(localeTests.this.availableLocales):
(localeTests.this.maximizedLocale):
(localeTests.this.maximizedLocaleWithExtension):
(localeTests.this.minimizedLocale):
(localeTests.this.minimizedLocaleWithExtension):
(localeTests.this.displayForBaseLocale):
(localeTests.this.displayInSameLocale):
(localeTests.this.displayInDifferentLocale):
(localeTests.this.displayInCyrillicScript):
(localeTests.this.displayInHebrewScript):
(localeTests):
* platform/gtk/Skipped:
* platform/mac/Skipped:
* platform/qt/Skipped:
* platform/win/Skipped:
2011-02-09 Nebojsa Ciric <cira@chromium.org>
Reviewed by Darin Fisher.
Implements Locale object of JavaScript internationalization API proposal, as an
v8 extension. Extension code is hosted in v8 project (src/extensions/experimental/i18n-extension.{cc,h})
and in this patch we just provide flags, tests and build rules for chromium port.
https://bugs.webkit.org/show_bug.cgi?id=49414
Test: fast/js/i18n-bindings-locale.html
* WebCore.gyp/WebCore.gyp:
* bindings/generic/RuntimeEnabledFeatures.cpp:
(WebCore::RuntimeEnabledFeatures::experimentalI18NAPIEnabled):
* bindings/generic/RuntimeEnabledFeatures.h:
(WebCore::RuntimeEnabledFeatures::setExperimentalI18NAPIEnabled):
* bindings/v8/V8DOMWindowShell.cpp:
(WebCore::V8DOMWindowShell::createNewContext):
2011-02-09 Nebojsa Ciric <cira@chromium.org>
Reviewed by Darin Fisher.
Implements Locale object of JavaScript internationalization API proposal, as an
v8 extension. Extension code is hosted in v8 project (src/extensions/experimental/i18n-extension.{cc,h})
and in this patch we just provide flags, tests and build rules for chromium port.
https://bugs.webkit.org/show_bug.cgi?id=49414
* features.gypi:
* public/WebRuntimeFeatures.h:
* src/WebRuntimeFeatures.cpp:
(WebKit::WebRuntimeFeatures::enableExperimentalI18NAPI):
(WebKit::WebRuntimeFeatures::isExperimentalI18NAPIEnabled):
2011-02-09 Nebojsa Ciric <cira@chromium.org>
Reviewed by Darin Fisher.
Implements Locale object of JavaScript internationalization API proposal, as an
v8 extension. Extension code is hosted in v8 project (src/extensions/experimental/i18n-extension.{cc,h})
and in this patch we just provide flags, tests and build rules for chromium port.
https://bugs.webkit.org/show_bug.cgi?id=49414
* DumpRenderTree/chromium/TestShell.cpp:
(TestShell::TestShell):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@78095 268f45cc-cd09-0410-ab3c-d52691b4dbfc
19 files changed