From 569f23eb6aebd9366cd1373416df61ba3326620b Mon Sep 17 00:00:00 2001 From: Martok Date: Sun, 18 Jun 2023 19:58:48 +0200 Subject: Issue #2046 - Implement Intl.DateTimeFormat's date-/timeStyle and hourCycle options - remove mozExtensions flag and expose to client code Based-on: m-c 1557718 --- js/src/vm/SelfHosting.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'js/src/vm/SelfHosting.cpp') 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), -- cgit v1.2.3