From c199bfaf9451b6b400eeffc5564d1e3610ce2607 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Bargull?= Date: Tue, 16 Nov 2021 17:02:56 +0000 Subject: [PATCH] Bug 1738422 - Part 6: Update numbering systems. r=tcampbell Add the new numbering system "tnsa" and then update numbering systems by by running `./make_intl_data.py numbering`. Adding "tnsa" to ECMA-402 is tracked at . ECMA-402 allows to support additional numbering systems, so even before that PR, it's okay to support "tnsa". () Depends on D129927 Differential Revision: https://phabricator.services.mozilla.com/D129928 --- js/src/builtin/intl/NumberingSystems.yaml | 1 + js/src/builtin/intl/NumberingSystemsGenerated.h | 1 + js/src/tests/non262/Intl/shell.js | 6 +++++- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/js/src/builtin/intl/NumberingSystems.yaml b/js/src/builtin/intl/NumberingSystems.yaml index 61d59304a9167..620e9f1829587 100644 --- a/js/src/builtin/intl/NumberingSystems.yaml +++ b/js/src/builtin/intl/NumberingSystems.yaml @@ -74,6 +74,7 @@ - thai - tibt - tirh +- tnsa - vaii - wara - wcho diff --git a/js/src/builtin/intl/NumberingSystemsGenerated.h b/js/src/builtin/intl/NumberingSystemsGenerated.h index fa970ab3488fd..c0d92f452f3b1 100644 --- a/js/src/builtin/intl/NumberingSystemsGenerated.h +++ b/js/src/builtin/intl/NumberingSystemsGenerated.h @@ -72,6 +72,7 @@ "thai", \ "tibt", \ "tirh", \ + "tnsa", \ "vaii", \ "wara", \ "wcho" diff --git a/js/src/tests/non262/Intl/shell.js b/js/src/tests/non262/Intl/shell.js index 8a57340207c2b..994f3dd4ddf04 100644 --- a/js/src/tests/non262/Intl/shell.js +++ b/js/src/tests/non262/Intl/shell.js @@ -1,6 +1,6 @@ // Generated by make_intl_data.py. DO NOT EDIT. -// source: CLDR file common/bcp47/number.xml; version CLDR 39. +// source: CLDR file common/bcp47/number.xml; version CLDR 40. // https://github.com/unicode-org/cldr/blob/master/common/bcp47/number.xml // https://github.com/unicode-org/cldr/blob/master/common/supplemental/numberingSystems.xml const numberingSystems = { @@ -313,6 +313,10 @@ const numberingSystems = { "algorithmic": false, "digits": "𑓐𑓑𑓒𑓓𑓔𑓕𑓖𑓗𑓘𑓙" }, + "tnsa": { + "algorithmic": false, + "digits": "𖫀𖫁𖫂𖫃𖫄𖫅𖫆𖫇𖫈𖫉" + }, "vaii": { "algorithmic": false, "digits": "꘠꘡꘢꘣꘤꘥꘦꘧꘨꘩"