summaryrefslogtreecommitdiff
path: root/js/src/vm/SelfHosting.cpp
diff options
context:
space:
mode:
authorMartok <martok@martoks-place.de>2023-06-18 19:58:48 +0200
committerMartok <martok@martoks-place.de>2023-06-30 00:01:36 +0200
commit569f23eb6aebd9366cd1373416df61ba3326620b (patch)
tree70888ec0bc5e3c53c6b24f8eda57f68f68ea1686 /js/src/vm/SelfHosting.cpp
parentaf47a256b5cf2b81e4c3bf8f36682f8b9f31be42 (diff)
downloaduxp-569f23eb6aebd9366cd1373416df61ba3326620b.tar.gz
Issue #2046 - Implement Intl.DateTimeFormat's date-/timeStyle and hourCycle options
- remove mozExtensions flag and expose to client code Based-on: m-c 1557718
Diffstat (limited to 'js/src/vm/SelfHosting.cpp')
-rw-r--r--js/src/vm/SelfHosting.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/src/vm/SelfHosting.cpp b/js/src/vm/SelfHosting.cpp
index 6446cbb4be..357e151bde 100644
--- a/js/src/vm/SelfHosting.cpp
+++ b/js/src/vm/SelfHosting.cpp
@@ -2479,8 +2479,8 @@ static const JSFunctionSpec intrinsic_functions[] = {
JS_FN("intl_IsValidTimeZoneName", intl_IsValidTimeZoneName, 1,0),
JS_FN("intl_NumberFormat", intl_NumberFormat, 2,0),
JS_FN("intl_numberingSystem", intl_numberingSystem, 1,0),
- JS_FN("intl_patternForSkeleton", intl_patternForSkeleton, 2,0),
- JS_FN("intl_patternForStyle", intl_patternForStyle, 3,0),
+ JS_FN("intl_patternForSkeleton", intl_patternForSkeleton, 3, 0),
+ JS_FN("intl_patternForStyle", intl_patternForStyle, 6, 0),
JS_FN("intl_GetPluralCategories", intl_GetPluralCategories, 2, 0),
JS_FN("intl_SelectPluralRule", intl_SelectPluralRule, 2,0),
JS_FN("intl_toLocaleLowerCase", intl_toLocaleLowerCase, 2,0),