Skip to content

Commit 84493e1

Browse files
ryzokukenyossydevgibson042
committed
Editorial: Update to ES2026 draft
Co-authored-by: Yuto Yoshino <[email protected]> Co-authored-by: Richard Gibson <[email protected]>
1 parent 257fe1a commit 84493e1

11 files changed

+41
-37
lines changed

spec/collator.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ <h1>
223223
<dd>
224224
The returned Number represents the result of an implementation-defined locale-sensitive String comparison of _x_ with _y_.
225225
The result is intended to correspond with a sort order of String values according to the effective locale and collation options of _collator_, and will be negative when _x_ is ordered before _y_, positive when _x_ is ordered after _y_, and zero in all other cases (representing no relative ordering between _x_ and _y_).
226-
String values must be interpreted as UTF-16 code unit sequences as described in es2025, <emu-xref href="#sec-ecmascript-language-types-string-type"></emu-xref>, and a surrogate pair (a code unit in the range 0xD800 to 0xDBFF followed by a code unit in the range 0xDC00 to 0xDFFF) within a string must be interpreted as the corresponding code point.
226+
String values must be interpreted as UTF-16 code unit sequences as described in es2026, <emu-xref href="#sec-ecmascript-language-types-string-type"></emu-xref>, and a surrogate pair (a code unit in the range 0xD800 to 0xDBFF followed by a code unit in the range 0xDC00 to 0xDFFF) within a string must be interpreted as the corresponding code point.
227227
</dd>
228228
</dl>
229229

spec/conformance.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<emu-clause id="conformance">
22
<h1>Conformance</h1>
3-
<p>A conforming implementation of this specification must conform to the ECMAScript 2025 Language Specification (ECMA-262 16<sup>th</sup> Edition, or successor), and must provide and support all the objects, properties, functions, and program semantics described in this specification. Nothing in this specification is intended to allow behaviour that is otherwise prohibited by ECMA-262, and any such conflict should be considered an editorial error rather than an override of constraints from ECMA-262.</p>
3+
<p>A conforming implementation of this specification must conform to the ECMAScript 2026 Language Specification (ECMA-262 17<sup>th</sup> Edition, or successor), and must provide and support all the objects, properties, functions, and program semantics described in this specification. Nothing in this specification is intended to allow behaviour that is otherwise prohibited by ECMA-262, and any such conflict should be considered an editorial error rather than an override of constraints from ECMA-262.</p>
44
<p>A conforming implementation is permitted to provide additional objects, properties, and functions beyond those described in this specification. In particular, a conforming implementation is permitted to provide properties not described in this specification, and values for those properties, for objects that are described herein. A conforming implementation is not permitted to add optional arguments to the functions defined in this specification.</p>
55
<p>A conforming implementation is permitted to accept additional values, and then have implementation-defined behaviour instead of throwing a *RangeError*, for the following properties of _options_ arguments:</p>
66
<ul>

spec/conventions.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<emu-clause id="conventions">
22
<h1>Notational Conventions</h1>
33

4-
<p>This standard uses a subset of the notational conventions of the ECMAScript 2025 Language Specification (ECMA-262 16<sup>th</sup> Edition), as es2025:</p>
4+
<p>This standard uses a subset of the notational conventions of the ECMAScript 2026 Language Specification (ECMA-262 17<sup>th</sup> Edition), as es2026:</p>
55

66
<ul>
7-
<li>Object Internal Methods and Internal Slots, as described in es2025, <emu-xref href="#sec-object-internal-methods-and-internal-slots"></emu-xref>.</li>
8-
<li>Algorithm conventions, as described in es2025, <emu-xref href="#sec-algorithm-conventions"></emu-xref>, and the use of abstract operations, as described in es2025, <emu-xref href="#sec-type-conversion"></emu-xref>, <emu-xref href="#sec-testing-and-comparison-operations"></emu-xref>, <emu-xref href="#sec-operations-on-objects"></emu-xref>, <emu-xref href="#sec-operations-on-iterator-objects"></emu-xref>.</li>
9-
<li>Internal Slots, as described in es2025, <emu-xref href="#sec-ordinary-object-internal-methods-and-internal-slots"></emu-xref>.</li>
10-
<li>The List and Record Specification Type, as described in es2025, <emu-xref href="#sec-list-and-record-specification-type"></emu-xref>.</li>
7+
<li>Object Internal Methods and Internal Slots, as described in es2026, <emu-xref href="#sec-object-internal-methods-and-internal-slots"></emu-xref>.</li>
8+
<li>Algorithm conventions, as described in es2026, <emu-xref href="#sec-algorithm-conventions"></emu-xref>, and the use of abstract operations, as described in es2026, <emu-xref href="#sec-type-conversion"></emu-xref>, <emu-xref href="#sec-testing-and-comparison-operations"></emu-xref>, <emu-xref href="#sec-operations-on-objects"></emu-xref>, <emu-xref href="#sec-operations-on-iterator-objects"></emu-xref>.</li>
9+
<li>Internal Slots, as described in es2026, <emu-xref href="#sec-ordinary-object-internal-methods-and-internal-slots"></emu-xref>.</li>
10+
<li>The List and Record Specification Type, as described in es2026, <emu-xref href="#sec-list-and-record-specification-type"></emu-xref>.</li>
1111
</ul>
1212

1313
<emu-note>
@@ -21,7 +21,7 @@ <h1>Notational Conventions</h1>
2121
<emu-clause id="sec-402-well-known-intrinsic-objects">
2222
<h1>Well-Known Intrinsic Objects</h1>
2323

24-
<p>The following table extends the Well-Known Intrinsic Objects table defined in es2025, <emu-xref href="#sec-well-known-intrinsic-objects"></emu-xref>.</p>
24+
<p>The following table extends the Well-Known Intrinsic Objects table defined in es2026, <emu-xref href="#sec-well-known-intrinsic-objects"></emu-xref>.</p>
2525

2626
<emu-table id="table-402-well-known-intrinsic-objects">
2727
<emu-caption>Well-known Intrinsic Objects (Extensions)</emu-caption>

spec/datetimeformat.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1439,7 +1439,7 @@ <h1>
14391439
</h1>
14401440
<dl class="header">
14411441
<dt>description</dt>
1442-
<dd>It interprets _x_ as a time value as specified in es2025, <emu-xref href="#sec-time-values-and-time-range"></emu-xref>, and creates the corresponding parts according to the effective locale and the formatting options of _dateTimeFormat_.</dd>
1442+
<dd>It interprets _x_ as a time value as specified in es2026, <emu-xref href="#sec-time-values-and-time-range"></emu-xref>, and creates the corresponding parts according to the effective locale and the formatting options of _dateTimeFormat_.</dd>
14431443
</dl>
14441444
<emu-alg>
14451445
1. Let _x_ be TimeClip(_x_).
@@ -1506,7 +1506,7 @@ <h1>
15061506
</h1>
15071507
<dl class="header">
15081508
<dt>description</dt>
1509-
<dd>It interprets _x_ and _y_ as time values as specified in es2025, <emu-xref href="#sec-time-values-and-time-range"></emu-xref>, and creates the corresponding parts according to the effective locale and the formatting options of _dateTimeFormat_.</dd>
1509+
<dd>It interprets _x_ and _y_ as time values as specified in es2026, <emu-xref href="#sec-time-values-and-time-range"></emu-xref>, and creates the corresponding parts according to the effective locale and the formatting options of _dateTimeFormat_.</dd>
15101510
</dl>
15111511
<emu-alg>
15121512
1. Set _x_ to TimeClip(_x_).

spec/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
}
3939
</style>
4040
<pre class="metadata">
41-
title: ECMAScript&reg; 2025 Internationalization API Specification
41+
title: ECMAScript&reg; 2026 Internationalization API Specification
4242
shortname: ECMA-402
4343
status: draft
4444
location: https://tc39.es/ecma402/

spec/introduction.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<emu-intro id="introduction">
22
<h1>Introduction</h1>
33
<p>This specification's source can be found at <a href="https://github.com/tc39/ecma402">https://github.com/tc39/ecma402</a>.</p>
4-
<p>The ECMAScript 2025 Internationalization API Specification (ECMA-402 12<sup>th</sup> Edition), provides key language sensitive functionality as a complement to the ECMAScript 2025 Language Specification (ECMA-262 16<sup>th</sup> Edition or successor). Its functionality has been selected from that of well-established internationalization APIs such as those of the <dfn id="icu">Internationalization Components for Unicode (ICU) library</dfn> (<a href="https://unicode-org.github.io/icu-docs/">https://unicode-org.github.io/icu-docs/</a>), of the .NET framework, or of the Java platform.</p>
4+
<p>The ECMAScript 2026 Internationalization API Specification (ECMA-402 13<sup>th</sup> Edition), provides key language sensitive functionality as a complement to the ECMAScript 2026 Language Specification (ECMA-262 17<sup>th</sup> Edition or successor). Its functionality has been selected from that of well-established internationalization APIs such as those of the <dfn id="icu">Internationalization Components for Unicode (ICU) library</dfn> (<a href="https://unicode-org.github.io/icu-docs/">https://unicode-org.github.io/icu-docs/</a>), of the .NET framework, or of the Java platform.</p>
55
<p>The 1<sup>st</sup> Edition API was developed by an ad-hoc group established by Ecma TC39 in September 2010 based on a proposal by Nebojša Ćirić and Jungshik Shin.</p>
66
<p>The 2<sup>nd</sup> Edition API was adopted by the General Assembly of June 2015, as a complement to the ECMAScript 6<sup>th</sup> Edition.</p>
77
<p>The 3<sup>rd</sup> Edition API was the first edition released under Ecma TC39's new yearly release cadence and open development process. A plain-text source document was built from the ECMA-402 source document to serve as the base for further development entirely on GitHub. Over the year of this standard's development, dozens of pull requests and issues were filed representing several of bug fixes, editorial fixes and other improvements. Additionally, numerous software tools were developed to aid in this effort including Ecmarkup, Ecmarkdown, and Grammarkdown.</p>
@@ -46,4 +46,8 @@ <h1>Introduction</h1>
4646
Ben Allen, Richard Gibson, Ujjwal Sharma<br>
4747
ECMA-402, 12<sup>th</sup> Edition Project Editors
4848
</p>
49+
<p>
50+
Ben Allen, Richard Gibson, Ujjwal Sharma<br>
51+
ECMA-402, 13<sup>th</sup> Edition Project Editors
52+
</p>
4953
</emu-intro>

spec/locale-sensitive-functions.html

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ <h1>Properties of the String Prototype Object</h1>
1313
<emu-clause id="sup-String.prototype.localeCompare">
1414
<h1>String.prototype.localeCompare ( _that_ [ , _locales_ [ , _options_ ] ] )</h1>
1515

16-
<p>This definition supersedes the definition provided in es2025, <emu-xref href="#sec-string.prototype.localecompare"></emu-xref>.</p>
16+
<p>This definition supersedes the definition provided in es2026, <emu-xref href="#sec-string.prototype.localecompare"></emu-xref>.</p>
1717

1818
<p>When the `localeCompare` method is called with argument _that_ and optional arguments _locales_, and _options_, the following steps are taken:</p>
1919

@@ -39,9 +39,9 @@ <h1>String.prototype.localeCompare ( _that_ [ , _locales_ [ , _options_ ] ] )</h
3939
<emu-clause id="sup-string.prototype.tolocalelowercase">
4040
<h1>String.prototype.toLocaleLowerCase ( [ _locales_ ] )</h1>
4141

42-
<p>This definition supersedes the definition provided in es2025, <emu-xref href="#sec-string.prototype.tolocalelowercase"></emu-xref>.</p>
42+
<p>This definition supersedes the definition provided in es2026, <emu-xref href="#sec-string.prototype.tolocalelowercase"></emu-xref>.</p>
4343

44-
<p>This function interprets a String value as a sequence of code points, as described in es2025, <emu-xref href="#sec-ecmascript-language-types-string-type"></emu-xref>. The following steps are taken:</p>
44+
<p>This function interprets a String value as a sequence of code points, as described in es2026, <emu-xref href="#sec-ecmascript-language-types-string-type"></emu-xref>. The following steps are taken:</p>
4545

4646
<emu-alg>
4747
1. Let _O_ be ? RequireObjectCoercible(*this* value).
@@ -63,7 +63,7 @@ <h1>
6363
</h1>
6464
<dl class="header">
6565
<dt>description</dt>
66-
<dd>It interprets _S_ as a sequence of UTF-16 encoded code points, as described in es2025, <emu-xref href="#sec-ecmascript-language-types-string-type"></emu-xref>, and returns the result of ILD transformation into _targetCase_ as a new String value.</dd>
66+
<dd>It interprets _S_ as a sequence of UTF-16 encoded code points, as described in es2026, <emu-xref href="#sec-ecmascript-language-types-string-type"></emu-xref>, and returns the result of ILD transformation into _targetCase_ as a new String value.</dd>
6767
</dl>
6868
<emu-alg>
6969
1. Let _requestedLocales_ be ? CanonicalizeLocaleList(_locales_).
@@ -94,9 +94,9 @@ <h1>
9494
<emu-clause id="sup-string.prototype.tolocaleuppercase">
9595
<h1>String.prototype.toLocaleUpperCase ( [ _locales_ ] )</h1>
9696

97-
<p>This definition supersedes the definition provided in es2025, <emu-xref href="#sec-string.prototype.tolocaleuppercase"></emu-xref>.</p>
97+
<p>This definition supersedes the definition provided in es2026, <emu-xref href="#sec-string.prototype.tolocaleuppercase"></emu-xref>.</p>
9898

99-
<p>This function interprets a String value as a sequence of code points, as described in es2025, <emu-xref href="#sec-ecmascript-language-types-string-type"></emu-xref>. The following steps are taken:</p>
99+
<p>This function interprets a String value as a sequence of code points, as described in es2026, <emu-xref href="#sec-ecmascript-language-types-string-type"></emu-xref>. The following steps are taken:</p>
100100

101101
<emu-alg>
102102
1. Let _O_ be ? RequireObjectCoercible(*this* value).
@@ -113,12 +113,12 @@ <h1>String.prototype.toLocaleUpperCase ( [ _locales_ ] )</h1>
113113
<emu-clause id="sup-properties-of-the-number-prototype-object">
114114
<h1>Properties of the Number Prototype Object</h1>
115115

116-
<p>The following definition(s) refer to the abstract operation thisNumberValue as defined in es2025, <emu-xref href="#sec-properties-of-the-number-prototype-object"></emu-xref>.</p>
116+
<p>The following definition(s) refer to the abstract operation thisNumberValue as defined in es2026, <emu-xref href="#sec-properties-of-the-number-prototype-object"></emu-xref>.</p>
117117

118118
<emu-clause id="sup-number.prototype.tolocalestring">
119119
<h1>Number.prototype.toLocaleString ( [ _locales_ [ , _options_ ] ] )</h1>
120120

121-
<p>This definition supersedes the definition provided in es2025, <emu-xref href="#sec-number.prototype.tolocalestring"></emu-xref>.</p>
121+
<p>This definition supersedes the definition provided in es2026, <emu-xref href="#sec-number.prototype.tolocalestring"></emu-xref>.</p>
122122

123123
<p>When the `toLocaleString` method is called with optional arguments _locales_ and _options_, the following steps are taken:</p>
124124

@@ -133,12 +133,12 @@ <h1>Number.prototype.toLocaleString ( [ _locales_ [ , _options_ ] ] )</h1>
133133
<emu-clause id="sup-properties-of-the-bigint-prototype-object">
134134
<h1>Properties of the BigInt Prototype Object</h1>
135135

136-
<p>The following definition(s) refer to the abstract operation thisBigIntValue as defined in es2025, <emu-xref href="#sec-properties-of-the-bigint-prototype-object"></emu-xref>.</p>
136+
<p>The following definition(s) refer to the abstract operation thisBigIntValue as defined in es2026, <emu-xref href="#sec-properties-of-the-bigint-prototype-object"></emu-xref>.</p>
137137

138138
<emu-clause id="sup-bigint.prototype.tolocalestring">
139139
<h1>BigInt.prototype.toLocaleString ( [ _locales_ [ , _options_ ] ] )</h1>
140140

141-
<p>This definition supersedes the definition provided in es2025, <emu-xref href="#sec-bigint.prototype.tolocalestring"></emu-xref>.</p>
141+
<p>This definition supersedes the definition provided in es2026, <emu-xref href="#sec-bigint.prototype.tolocalestring"></emu-xref>.</p>
142142

143143
<p>When the `toLocaleString` method is called with optional arguments _locales_ and _options_, the following steps are taken:</p>
144144

@@ -153,12 +153,12 @@ <h1>BigInt.prototype.toLocaleString ( [ _locales_ [ , _options_ ] ] )</h1>
153153
<emu-clause id="sup-properties-of-the-date-prototype-object">
154154
<h1>Properties of the Date Prototype Object</h1>
155155

156-
<p>The following definition(s) refer to the abstract operation thisTimeValue as defined in es2025, <emu-xref href="#sec-properties-of-the-date-prototype-object"></emu-xref>.</p>
156+
<p>The following definition(s) refer to the abstract operation thisTimeValue as defined in es2026, <emu-xref href="#sec-properties-of-the-date-prototype-object"></emu-xref>.</p>
157157

158158
<emu-clause id="sup-date.prototype.tolocalestring">
159159
<h1>Date.prototype.toLocaleString ( [ _locales_ [ , _options_ ] ] )</h1>
160160

161-
<p>This definition supersedes the definition provided in es2025, <emu-xref href="#sec-date.prototype.tolocalestring"></emu-xref>.</p>
161+
<p>This definition supersedes the definition provided in es2026, <emu-xref href="#sec-date.prototype.tolocalestring"></emu-xref>.</p>
162162

163163
<p>When the `toLocaleString` method is called with optional arguments _locales_ and _options_, the following steps are taken:</p>
164164

@@ -175,7 +175,7 @@ <h1>Date.prototype.toLocaleString ( [ _locales_ [ , _options_ ] ] )</h1>
175175
<emu-clause id="sup-date.prototype.tolocaledatestring">
176176
<h1>Date.prototype.toLocaleDateString ( [ _locales_ [ , _options_ ] ] )</h1>
177177

178-
<p>This definition supersedes the definition provided in es2025, <emu-xref href="#sec-date.prototype.tolocaledatestring"></emu-xref>.</p>
178+
<p>This definition supersedes the definition provided in es2026, <emu-xref href="#sec-date.prototype.tolocaledatestring"></emu-xref>.</p>
179179

180180
<p>When the `toLocaleDateString` method is called with optional arguments _locales_ and _options_, the following steps are taken:</p>
181181

@@ -192,7 +192,7 @@ <h1>Date.prototype.toLocaleDateString ( [ _locales_ [ , _options_ ] ] )</h1>
192192
<emu-clause id="sup-date.prototype.tolocaletimestring">
193193
<h1>Date.prototype.toLocaleTimeString ( [ _locales_ [ , _options_ ] ] )</h1>
194194

195-
<p>This definition supersedes the definition provided in es2025, <emu-xref href="#sec-date.prototype.tolocaletimestring"></emu-xref>.</p>
195+
<p>This definition supersedes the definition provided in es2026, <emu-xref href="#sec-date.prototype.tolocaletimestring"></emu-xref>.</p>
196196

197197
<p>When the `toLocaleTimeString` method is called with optional arguments _locales_ and _options_, the following steps are taken:</p>
198198

@@ -213,7 +213,7 @@ <h1>Properties of the Array Prototype Object</h1>
213213
<emu-clause id="sup-array.prototype.tolocalestring">
214214
<h1>Array.prototype.toLocaleString ( [ _locales_ [ , _options_ ] ] )</h1>
215215

216-
<p>This definition supersedes the definition provided in es2025, <emu-xref href="#sec-array.prototype.tolocalestring"></emu-xref>.</p>
216+
<p>This definition supersedes the definition provided in es2026, <emu-xref href="#sec-array.prototype.tolocalestring"></emu-xref>.</p>
217217

218218
<p>When the `toLocaleString` method is called with optional arguments _locales_ and _options_, the following steps are taken:</p>
219219

@@ -235,7 +235,7 @@ <h1>Array.prototype.toLocaleString ( [ _locales_ [ , _options_ ] ] )</h1>
235235
</emu-alg>
236236

237237
<emu-note>
238-
This algorithm's steps mirror the steps taken in es2025, <emu-xref href="#sec-array.prototype.tolocalestring"></emu-xref>, with the exception that Invoke(_nextElement_, *"toLocaleString"*) now takes _locales_ and _options_ as arguments.
238+
This algorithm's steps mirror the steps taken in es2026, <emu-xref href="#sec-array.prototype.tolocalestring"></emu-xref>, with the exception that Invoke(_nextElement_, *"toLocaleString"*) now takes _locales_ and _options_ as arguments.
239239
</emu-note>
240240

241241
<emu-note>

0 commit comments

Comments
 (0)