Implement ECMAScript Internationalization API
https://bugs.webkit.org/show_bug.cgi?id=90906
Patch by Andy VanWagoner <thetalecrafter@gmail.com> on 2015-06-30
Reviewed by Benjamin Poulain.
.:
Begin implementing the Intl apis behind ENABLE_INTL flag.
Create the base Intl namespace object.
* Source/cmake/WebKitFeatures.cmake: add ENABLE_INTL flag
Source/JavaScriptCore:
* CMakeLists.txt: add IntlObject.cpp
* Configurations/FeatureDefines.xcconfig: add ENABLE_INTL flag
* JavaScriptCore.vcxproj/JavaScriptCore.vcxproj: add IntlObject
* JavaScriptCore.vcxproj/JavaScriptCore.vcxproj.filters: add IntlObject
* JavaScriptCore.xcodeproj/project.pbxproj: add IntlObject
* runtime/CommonIdentifiers.h: add "Intl" name
* runtime/IntlObject.cpp: Added.
(JSC::IntlObject::IntlObject):
(JSC::IntlObject::create):
(JSC::IntlObject::finishCreation):
(JSC::IntlObject::createStructure):
* runtime/IntlObject.h: Added.
* runtime/JSGlobalObject.cpp: Add global Intl
(JSC::JSGlobalObject::init):
Source/WebCore:
Test: js/intl.html
* Configurations/FeatureDefines.xcconfig: add ENABLE_INTL flag
Source/WebKit/mac:
* Configurations/FeatureDefines.xcconfig: add ENABLE_INTL flag
Source/WebKit2:
* Configurations/FeatureDefines.xcconfig: add ENABLE_INTL flag
Source/WTF:
* wtf/FeatureDefines.h: add ENABLE_INTL flag
Tools:
* Scripts/webkitperl/FeatureList.pm: add ENABLE_INTL flag
WebKitLibraries:
* win/tools/vsprops/FeatureDefines.props: add ENABLE_INTL flag
* win/tools/vsprops/FeatureDefinesCairo.props: add ENABLE_INTL flag
LayoutTests:
* TestExpectations: Skip intl until enabled
* js/intl-expected.txt: Added.
* js/intl.html: Added.
* js/script-tests/intl.js: Added.
(global):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@186161
268f45cc-cd09-0410-ab3c-
d52691b4dbfc