summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartok <martok@martoks-place.de>2023-02-17 00:07:06 +0100
committerMartok <martok@martoks-place.de>2023-02-17 00:07:06 +0100
commit233feee8237d9fbacf028cbf4773e0755531756d (patch)
tree9e5fcbecc9172cf778a31aea7a54b4fc77609125
parentdf8d3c4b0a3edccf3c520e1af817e2f92d8648d2 (diff)
downloaduxp-233feee8237d9fbacf028cbf4773e0755531756d.tar.gz
Issue #2046 - Move builtin/Intl.js (which now contains only shared functionality) to builtin/intl/CommonFunctions.js
-rw-r--r--js/src/builtin/intl/CommonFunctions.js (renamed from js/src/builtin/Intl.js)29
-rw-r--r--js/src/moz.build2
2 files changed, 1 insertions, 30 deletions
diff --git a/js/src/builtin/Intl.js b/js/src/builtin/intl/CommonFunctions.js
index 11d57a2e59..0665ccef43 100644
--- a/js/src/builtin/Intl.js
+++ b/js/src/builtin/intl/CommonFunctions.js
@@ -4,35 +4,6 @@
/* Portions Copyright Norbert Lindenberg 2011-2012. */
-/*global JSMSG_INTL_OBJECT_NOT_INITED: false, JSMSG_INVALID_LOCALES_ELEMENT: false,
- JSMSG_INVALID_LANGUAGE_TAG: false, JSMSG_INVALID_LOCALE_MATCHER: false,
- JSMSG_INVALID_OPTION_VALUE: false, JSMSG_INVALID_DIGITS_VALUE: false,
- JSMSG_INTL_OBJECT_REINITED: false, JSMSG_INVALID_CURRENCY_CODE: false,
- JSMSG_UNDEFINED_CURRENCY: false, JSMSG_INVALID_TIME_ZONE: false,
- JSMSG_DATE_NOT_FINITE: false, JSMSG_INVALID_KEYS_TYPE: false,
- JSMSG_INVALID_KEY: false,
- intl_Collator_availableLocales: false,
- intl_availableCollations: false,
- intl_CompareStrings: false,
- intl_NumberFormat_availableLocales: false,
- intl_numberingSystem: false,
- intl_FormatNumber: false,
- intl_DateTimeFormat_availableLocales: false,
- intl_availableCalendars: false,
- intl_patternForSkeleton: false,
- intl_FormatDateTime: false,
- intl_SelectPluralRule: false,
- intl_GetPluralCategories: false,
- intl_FormatRelativeTime: false,
- intl_GetCalendarInfo: false,
-*/
-
-/*
- * The Intl module specified by standard ECMA-402,
- * ECMAScript Internationalization API Specification.
- */
-
-
/********** Locales, Time Zones, and Currencies **********/
diff --git a/js/src/moz.build b/js/src/moz.build
index d60a2c8d64..d54547aecf 100644
--- a/js/src/moz.build
+++ b/js/src/moz.build
@@ -668,8 +668,8 @@ selfhosted.inputs = [
'builtin/Error.js',
'builtin/Function.js',
'builtin/Generator.js',
- 'builtin/Intl.js',
'builtin/intl/Collator.js',
+ 'builtin/intl/CommonFunctions.js',
'builtin/intl/DateTimeFormat.js',
'builtin/intl/IntlObject.js',
'builtin/intl/LangTagMappingsGenerated.js',