Closed
Bug 1483548
Opened 6 years ago
Closed 6 years ago
Intl.RelativeTimeFormat.format(NaN, "second") should throw RangeError (test262/intl402/RelativeTimeFormat/prototype/format/value-non-finite.js)
Categories
(Core :: JavaScript: Internationalization API, enhancement)
Core
JavaScript: Internationalization API
Tracking
()
RESOLVED
FIXED
mozilla65
Tracking | Status | |
---|---|---|
firefox65 | --- | fixed |
People
(Reporter: jorendorff, Assigned: anba)
Details
Attachments
(1 file)
8.50 KB,
patch
|
jorendorff
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Reporter | ||
Updated•6 years ago
|
Component: JavaScript Engine → JavaScript: Internationalization API
Assignee | ||
Comment 1•6 years ago
|
||
Reuses the existing error message from Intl.DateTimeFormat for non-finite inputs for Intl.RelativeTimeFormat. Drive-by fixes: Remove no longer needed (explicit) test exclusions from jstests.list.
Assignee: nobody → andrebargull
Status: NEW → ASSIGNED
Attachment #9019810 -
Flags: review?(jorendorff)
Reporter | ||
Updated•6 years ago
|
Attachment #9019810 -
Flags: review?(jorendorff) → review+
Assignee | ||
Comment 2•6 years ago
|
||
Try: https://treeherder.mozilla.org/#/jobs?repo=try&revision=8958ed1880df54e4e2d3629dd9a5ca7e4c15d840
Keywords: checkin-needed
Pushed by btara@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/fd95f65239ed Throw a RangeError if the input value for Intl.RelativeTimeFormat is not finite. r=jorendorff
Keywords: checkin-needed
Comment 4•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/fd95f65239ed
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
status-firefox65:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
You need to log in
before you can comment on or make changes to this bug.
Description
•