archives

« Bugzilla Issues Index

#224 — Allow RangeError to be used for errors related to non-numeric types


The description of RangeError currently says: "Indicates a numeric value has exceeded the allowable range." Discussions at and after the TC39 meeting in November 2011 came to the conclusion that we should allow the use of RangeError to also indicate invalid values in non-numeric types. Use cases discussed were language tags, as defined in RFC 5646, or selectors such as "sort" and "search", both used in the ECMAScript Globalization API.


*** Bug 1730 has been marked as a duplicate of this bug. ***


Updating product and component


fixed in rev17 editor's draft


fixed in rev17, August 23, 2013 draft


Verified in rev 26 draft.