You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If Intl.NumberFormat.prototype.formatRangeToParts is provided approximately equivalent values, PartitionNumberRangePattern will return early by way of FormatApproximately. However, FormatApproximately does not set the [[Source]] internal slot for the approximatelySign or any of the partitions in the result vector. FormatNumericRangeToParts then blindly adds a source property to the object it returns.
In our implementation over at SerenityOS's LibJS, this currently results in an empty string:
If
Intl.NumberFormat.prototype.formatRangeToParts
is provided approximately equivalent values,PartitionNumberRangePattern
will return early by way ofFormatApproximately
. However,FormatApproximately
does not set the[[Source]]
internal slot for theapproximatelySign
or any of the partitions in the result vector.FormatNumericRangeToParts
then blindly adds asource
property to the object it returns.In our implementation over at SerenityOS's LibJS, this currently results in an empty string:
Should
[[Source]]
be set (maybe to "shared") inFormatApproximately
?The text was updated successfully, but these errors were encountered: