Closed
Bug 1367791
Opened 7 years ago
Closed 7 years ago
Constrain toFixed precision to 0 <= n <= 100
Categories
(Core :: JavaScript Engine, enhancement)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
mozilla56
Tracking | Status | |
---|---|---|
firefox56 | --- | fixed |
People
(Reporter: shu, Assigned: shu)
Details
Attachments
(1 file)
881 bytes,
patch
|
jorendorff
:
review+
|
Details | Diff | Splinter Review |
Small normative changed to toFixed that reached consensus in May TC39. We currently accept -20 <= n <= 100. https://github.com/tc39/ecma262/pull/857
Assignee | ||
Comment 1•7 years ago
|
||
Due to normative change in spec.
Assignee | ||
Comment 2•7 years ago
|
||
Comment on attachment 8877348 [details] [diff] [review] Constrain Number.prototype.toFixed precision to be 0 <= p <= 100. test262 will have a test for this with the next sync.
Attachment #8877348 -
Flags: review?(jorendorff)
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → shu
Updated•7 years ago
|
Attachment #8877348 -
Flags: review?(jorendorff) → review+
Pushed by shu@rfrn.org: https://hg.mozilla.org/integration/mozilla-inbound/rev/03533ecbc1af Constrain Number.prototype.toFixed precision to be 0 <= p <= 100. (r=jorendorff)
Comment 4•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/03533ecbc1af
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox56:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla56
You need to log in
before you can comment on or make changes to this bug.
Description
•