Skip to content

Commit

Permalink
Editorial: Define symbol-keyed service constructor properties after s…
Browse files Browse the repository at this point in the history
…tring-keyed ones

Symbol.toStringTag properties might not be universal in the future, so
they don't need special treatment.
  • Loading branch information
gibson042 authored and ryzokuken committed Feb 18, 2025
1 parent 67a8417 commit ecb086c
Show file tree
Hide file tree
Showing 8 changed files with 90 additions and 90 deletions.
24 changes: 12 additions & 12 deletions spec/collator.html
Original file line number Diff line number Diff line change
Expand Up @@ -216,18 +216,6 @@ <h1>Intl.Collator.prototype.resolvedOptions ( )</h1>
</emu-table>
</emu-clause>

<emu-clause id="sec-intl.collator.prototype-%symbol.tostringtag%" oldids="sec-intl.collator.prototype-@@tostringtag">
<h1>Intl.Collator.prototype [ %Symbol.toStringTag% ]</h1>

<p>
The initial value of the %Symbol.toStringTag% property is the String value *"Intl.Collator"*.
</p>

<p>
This property has the attributes { [[Writable]]: *false*, [[Enumerable]]: *false*, [[Configurable]]: *true* }.
</p>
</emu-clause>

<emu-clause id="sec-intl.collator.prototype.compare">
<h1>get Intl.Collator.prototype.compare</h1>

Expand Down Expand Up @@ -355,6 +343,18 @@ <h1>
</emu-note>
</emu-clause>
</emu-clause>

<emu-clause id="sec-intl.collator.prototype-%symbol.tostringtag%" oldids="sec-intl.collator.prototype-@@tostringtag">
<h1>Intl.Collator.prototype [ %Symbol.toStringTag% ]</h1>

<p>
The initial value of the %Symbol.toStringTag% property is the String value *"Intl.Collator"*.
</p>

<p>
This property has the attributes { [[Writable]]: *false*, [[Enumerable]]: *false*, [[Configurable]]: *true* }.
</p>
</emu-clause>
</emu-clause>

<emu-clause id="sec-properties-of-intl-collator-instances">
Expand Down
24 changes: 12 additions & 12 deletions spec/datetimeformat.html
Original file line number Diff line number Diff line change
Expand Up @@ -1050,18 +1050,6 @@ <h1>Intl.DateTimeFormat.prototype.resolvedOptions ( )</h1>
</emu-note>
</emu-clause>

<emu-clause id="sec-intl.datetimeformat.prototype-%symbol.tostringtag%" oldids="sec-intl.datetimeformat.prototype-@@tostringtag">
<h1>Intl.DateTimeFormat.prototype [ %Symbol.toStringTag% ]</h1>

<p>
The initial value of the %Symbol.toStringTag% property is the String value *"Intl.DateTimeFormat"*.
</p>

<p>
This property has the attributes { [[Writable]]: *false*, [[Enumerable]]: *false*, [[Configurable]]: *true* }.
</p>
</emu-clause>

<emu-clause id="sec-intl.datetimeformat.prototype.format">
<h1>get Intl.DateTimeFormat.prototype.format</h1>

Expand Down Expand Up @@ -1138,6 +1126,18 @@ <h1>Intl.DateTimeFormat.prototype.formatToParts ( _date_ )</h1>
1. Return ? FormatDateTimeToParts(_dtf_, _x_).
</emu-alg>
</emu-clause>

<emu-clause id="sec-intl.datetimeformat.prototype-%symbol.tostringtag%" oldids="sec-intl.datetimeformat.prototype-@@tostringtag">
<h1>Intl.DateTimeFormat.prototype [ %Symbol.toStringTag% ]</h1>

<p>
The initial value of the %Symbol.toStringTag% property is the String value *"Intl.DateTimeFormat"*.
</p>

<p>
This property has the attributes { [[Writable]]: *false*, [[Enumerable]]: *false*, [[Configurable]]: *true* }.
</p>
</emu-clause>
</emu-clause>

<emu-clause id="sec-properties-of-intl-datetimeformat-instances">
Expand Down
22 changes: 11 additions & 11 deletions spec/displaynames.html
Original file line number Diff line number Diff line change
Expand Up @@ -184,17 +184,6 @@ <h1>Intl.DisplayNames.prototype.resolvedOptions ( )</h1>
</emu-table>
</emu-clause>

<emu-clause id="sec-intl.displaynames.prototype-%symbol.tostringtag%" oldids="sec-Intl.DisplayNames.prototype-@@tostringtag">
<h1>Intl.DisplayNames.prototype [ %Symbol.toStringTag% ]</h1>

<p>
The initial value of the %Symbol.toStringTag% property is the String value *"Intl.DisplayNames"*.
</p>
<p>
This property has the attributes { [[Writable]]: *false*, [[Enumerable]]: *false*, [[Configurable]]: *true* }.
</p>
</emu-clause>

<emu-clause id="sec-Intl.DisplayNames.prototype.of">
<h1>Intl.DisplayNames.prototype.of ( _code_ )</h1>

Expand All @@ -213,6 +202,17 @@ <h1>Intl.DisplayNames.prototype.of ( _code_ )</h1>
1. Return *undefined*.
</emu-alg>
</emu-clause>

<emu-clause id="sec-intl.displaynames.prototype-%symbol.tostringtag%" oldids="sec-Intl.DisplayNames.prototype-@@tostringtag">
<h1>Intl.DisplayNames.prototype [ %Symbol.toStringTag% ]</h1>

<p>
The initial value of the %Symbol.toStringTag% property is the String value *"Intl.DisplayNames"*.
</p>
<p>
This property has the attributes { [[Writable]]: *false*, [[Enumerable]]: *false*, [[Configurable]]: *true* }.
</p>
</emu-clause>
</emu-clause>

<emu-clause id="sec-properties-of-intl-displaynames-instances">
Expand Down
22 changes: 11 additions & 11 deletions spec/listformat.html
Original file line number Diff line number Diff line change
Expand Up @@ -162,17 +162,6 @@ <h1>Intl.ListFormat.prototype.resolvedOptions ( )</h1>
</emu-table>
</emu-clause>

<emu-clause id="sec-Intl.ListFormat.prototype-toStringTag">
<h1>Intl.ListFormat.prototype [ %Symbol.toStringTag% ]</h1>

<p>
The initial value of the %Symbol.toStringTag% property is the String value *"Intl.ListFormat"*.
</p>
<p>
This property has the attributes { [[Writable]]: *false*, [[Enumerable]]: *false*, [[Configurable]]: *true* }.
</p>
</emu-clause>

<emu-clause id="sec-Intl.ListFormat.prototype.format">
<h1>Intl.ListFormat.prototype.format ( _list_ )</h1>

Expand Down Expand Up @@ -202,6 +191,17 @@ <h1>Intl.ListFormat.prototype.formatToParts ( _list_ )</h1>
1. Return FormatListToParts(_lf_, _stringList_).
</emu-alg>
</emu-clause>

<emu-clause id="sec-Intl.ListFormat.prototype-toStringTag">
<h1>Intl.ListFormat.prototype [ %Symbol.toStringTag% ]</h1>

<p>
The initial value of the %Symbol.toStringTag% property is the String value *"Intl.ListFormat"*.
</p>
<p>
This property has the attributes { [[Writable]]: *false*, [[Enumerable]]: *false*, [[Configurable]]: *true* }.
</p>
</emu-clause>
</emu-clause>

<emu-clause id="sec-properties-of-intl-listformat-instances">
Expand Down
22 changes: 11 additions & 11 deletions spec/numberformat.html
Original file line number Diff line number Diff line change
Expand Up @@ -444,17 +444,6 @@ <h1>Intl.NumberFormat.prototype.resolvedOptions ( )</h1>
</emu-table>
</emu-clause>

<emu-clause id="sec-intl.numberformat.prototype-%symbol.tostringtag%" oldids="sec-intl.numberformat.prototype-@@tostringtag">
<h1>Intl.NumberFormat.prototype [ %Symbol.toStringTag% ]</h1>

<p>
The initial value of the %Symbol.toStringTag% property is the String value *"Intl.NumberFormat"*.
</p>
<p>
This property has the attributes { [[Writable]]: *false*, [[Enumerable]]: *false*, [[Configurable]]: *true* }.
</p>
</emu-clause>

<emu-clause id="sec-intl.numberformat.prototype.format">
<h1>get Intl.NumberFormat.prototype.format</h1>

Expand Down Expand Up @@ -528,6 +517,17 @@ <h1>Intl.NumberFormat.prototype.formatToParts ( _value_ )</h1>
1. Return FormatNumericToParts(_nf_, _x_).
</emu-alg>
</emu-clause>

<emu-clause id="sec-intl.numberformat.prototype-%symbol.tostringtag%" oldids="sec-intl.numberformat.prototype-@@tostringtag">
<h1>Intl.NumberFormat.prototype [ %Symbol.toStringTag% ]</h1>

<p>
The initial value of the %Symbol.toStringTag% property is the String value *"Intl.NumberFormat"*.
</p>
<p>
This property has the attributes { [[Writable]]: *false*, [[Enumerable]]: *false*, [[Configurable]]: *true* }.
</p>
</emu-clause>
</emu-clause>

<emu-clause id="sec-properties-of-intl-numberformat-instances">
Expand Down
22 changes: 11 additions & 11 deletions spec/pluralrules.html
Original file line number Diff line number Diff line change
Expand Up @@ -205,17 +205,6 @@ <h1>Intl.PluralRules.prototype.resolvedOptions ( )</h1>
</emu-table>
</emu-clause>

<emu-clause id="sec-intl.pluralrules.prototype-%symbol.tostringtag%" oldids="sec-intl.pluralrules.prototype-tostringtag">
<h1>Intl.PluralRules.prototype [ %Symbol.toStringTag% ]</h1>

<p>
The initial value of the %Symbol.toStringTag% property is the String value *"Intl.PluralRules"*.
</p>
<p>
This property has the attributes { [[Writable]]: *false*, [[Enumerable]]: *false*, [[Configurable]]: *true* }.
</p>
</emu-clause>

<emu-clause id="sec-intl.pluralrules.prototype.select">
<h1>Intl.PluralRules.prototype.select ( _value_ )</h1>

Expand Down Expand Up @@ -247,6 +236,17 @@ <h1>Intl.PluralRules.prototype.selectRange ( _start_, _end_ )</h1>
1. Return ? ResolvePluralRange(_pr_, _x_, _y_).
</emu-alg>
</emu-clause>

<emu-clause id="sec-intl.pluralrules.prototype-%symbol.tostringtag%" oldids="sec-intl.pluralrules.prototype-tostringtag">
<h1>Intl.PluralRules.prototype [ %Symbol.toStringTag% ]</h1>

<p>
The initial value of the %Symbol.toStringTag% property is the String value *"Intl.PluralRules"*.
</p>
<p>
This property has the attributes { [[Writable]]: *false*, [[Enumerable]]: *false*, [[Configurable]]: *true* }.
</p>
</emu-clause>
</emu-clause>

<emu-clause id="sec-properties-of-intl-pluralrules-instances">
Expand Down
22 changes: 11 additions & 11 deletions spec/relativetimeformat.html
Original file line number Diff line number Diff line change
Expand Up @@ -177,17 +177,6 @@ <h1>Intl.RelativeTimeFormat.prototype.resolvedOptions ( )</h1>
</emu-table>
</emu-clause>

<emu-clause id="sec-Intl.RelativeTimeFormat.prototype-toStringTag">
<h1>Intl.RelativeTimeFormat.prototype [ %Symbol.toStringTag% ]</h1>

<p>
The initial value of the %Symbol.toStringTag% property is the String value *"Intl.RelativeTimeFormat"*.
</p>
<p>
This property has the attributes { [[Writable]]: *false*, [[Enumerable]]: *false*, [[Configurable]]: *true* }.
</p>
</emu-clause>

<emu-clause id="sec-Intl.RelativeTimeFormat.prototype.format">
<h1>Intl.RelativeTimeFormat.prototype.format ( _value_, _unit_ )</h1>

Expand Down Expand Up @@ -219,6 +208,17 @@ <h1>Intl.RelativeTimeFormat.prototype.formatToParts ( _value_, _unit_ )</h1>
1. Return ? FormatRelativeTimeToParts(_relativeTimeFormat_, _value_, _unit_).
</emu-alg>
</emu-clause>

<emu-clause id="sec-Intl.RelativeTimeFormat.prototype-toStringTag">
<h1>Intl.RelativeTimeFormat.prototype [ %Symbol.toStringTag% ]</h1>

<p>
The initial value of the %Symbol.toStringTag% property is the String value *"Intl.RelativeTimeFormat"*.
</p>
<p>
This property has the attributes { [[Writable]]: *false*, [[Enumerable]]: *false*, [[Configurable]]: *true* }.
</p>
</emu-clause>
</emu-clause>

<emu-clause id="sec-properties-of-intl-relativetimeformat-instances">
Expand Down
22 changes: 11 additions & 11 deletions spec/segmenter.html
Original file line number Diff line number Diff line change
Expand Up @@ -140,17 +140,6 @@ <h1>Intl.Segmenter.prototype.resolvedOptions ( )</h1>
</emu-table>
</emu-clause>

<emu-clause id="sec-intl.segmenter.prototype-%symbol.tostringtag%" oldids="sec-intl.segmenter.prototype-@@tostringtag">
<h1>Intl.Segmenter.prototype [ %Symbol.toStringTag% ]</h1>

<p>
The initial value of the %Symbol.toStringTag% property is the String value *"Intl.Segmenter"*.
</p>
<p>
This property has the attributes { [[Writable]]: *false*, [[Enumerable]]: *false*, [[Configurable]]: *true* }.
</p>
</emu-clause>

<emu-clause id="sec-intl.segmenter.prototype.segment">
<h1>Intl.Segmenter.prototype.segment ( _string_ )</h1>

Expand All @@ -165,6 +154,17 @@ <h1>Intl.Segmenter.prototype.segment ( _string_ )</h1>
1. Return CreateSegmentsObject(_segmenter_, _string_).
</emu-alg>
</emu-clause>

<emu-clause id="sec-intl.segmenter.prototype-%symbol.tostringtag%" oldids="sec-intl.segmenter.prototype-@@tostringtag">
<h1>Intl.Segmenter.prototype [ %Symbol.toStringTag% ]</h1>

<p>
The initial value of the %Symbol.toStringTag% property is the String value *"Intl.Segmenter"*.
</p>
<p>
This property has the attributes { [[Writable]]: *false*, [[Enumerable]]: *false*, [[Configurable]]: *true* }.
</p>
</emu-clause>
</emu-clause>

<emu-clause id="sec-properties-of-intl-segmenter-instances">
Expand Down

0 comments on commit ecb086c

Please sign in to comment.