Closed
Bug 1367791
Opened 9 years ago
Closed 9 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•9 years ago
|
||
Due to normative change in spec.
| Assignee | ||
Comment 2•9 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•9 years ago
|
Assignee: nobody → shu
Updated•9 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•9 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 9 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
•