Closed
Bug 671143
Opened 13 years ago
Closed 13 years ago
Rename ValueToNumber to just ToNumber for spec similarity/consistency with other recent To* methods
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
mozilla8
People
(Reporter: Waldo, Assigned: Waldo)
Details
Attachments
(1 file)
27.11 KB,
patch
|
cdleary
:
review+
|
Details | Diff | Splinter Review |
cdleary requested this over IRC or IRL awhile back, I think.
Attachment #545552 -
Flags: review?(cdleary)
Comment 1•13 years ago
|
||
(In reply to comment #0) > cdleary requested this over IRC or IRL awhile back, I think. That would be bug 646129 comment 5 IIRC :P
Comment 2•13 years ago
|
||
Comment on attachment 545552 [details] [diff] [review] Patch Review of attachment 545552 [details] [diff] [review]: ----------------------------------------------------------------- ::: js/src/jsnum.h @@ +272,3 @@ > } > > +/* ES5 9.3 ToNumber. The number value overwrites the value being converted. */ French spacing makes a certain CTO cry. ::: js/src/jstracer.cpp @@ +9301,2 @@ > *tvr.addr() = r; > + JS_ALWAYS_TRUE(ToNumber(cx, tvr.value(), &rnum)); Nice catch(es).
Updated•13 years ago
|
Attachment #545552 -
Flags: review?(cdleary) → review+
Comment 3•13 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/dcdd255aedf3
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla8
You need to log in
before you can comment on or make changes to this bug.
Description
•