diff options
author | Moonchild <moonchild@palemoon.org> | 2020-12-22 20:32:56 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2020-12-22 20:32:56 +0000 |
commit | da4852b4003f7a6d45e4ef33c77bdbf80b329a89 (patch) | |
tree | 7c410dbb5d672661bf0a567736501ec3f5ef5191 /js/src/vm/SelfHosting.cpp | |
parent | 63cad8e4723feab83359679263d0973c558f134f (diff) | |
download | uxp-da4852b4003f7a6d45e4ef33c77bdbf80b329a89.tar.gz |
Issue mcp-graveyard/UXP#1701 - Implement Intl.PluralRules API
Diffstat (limited to 'js/src/vm/SelfHosting.cpp')
-rw-r--r-- | js/src/vm/SelfHosting.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/js/src/vm/SelfHosting.cpp b/js/src/vm/SelfHosting.cpp index dc1dfb9fad..df326a69e7 100644 --- a/js/src/vm/SelfHosting.cpp +++ b/js/src/vm/SelfHosting.cpp @@ -2605,6 +2605,9 @@ static const JSFunctionSpec intrinsic_functions[] = { JS_FN("intl_NumberFormat_availableLocales", intl_NumberFormat_availableLocales, 0,0), JS_FN("intl_numberingSystem", intl_numberingSystem, 1,0), JS_FN("intl_patternForSkeleton", intl_patternForSkeleton, 2,0), + JS_FN("intl_PluralRules_availableLocales", intl_PluralRules_availableLocales, 0,0), + JS_FN("intl_GetPluralCategories", intl_GetPluralCategories, 2, 0), + JS_FN("intl_SelectPluralRule", intl_SelectPluralRule, 2,0), JS_INLINABLE_FN("IsRegExpObject", intrinsic_IsInstanceOfBuiltin<RegExpObject>, 1,0, |