Closed
Bug 1117350
Opened 9 years ago
Closed 9 years ago
Implement %TypedArray%.prototype.{reduce, reduceRight}
Categories
(Core :: JavaScript: Standard Library, defect)
Core
JavaScript: Standard Library
Tracking
()
RESOLVED
FIXED
mozilla37
People
(Reporter: 446240525, Assigned: 446240525)
References
Details
(Keywords: dev-doc-complete, Whiteboard: [DocArea=JS])
Attachments
(2 files)
8.32 KB,
patch
|
till
:
review+
|
Details | Diff | Splinter Review |
12.58 KB,
patch
|
evilpie
:
review+
|
Details | Diff | Splinter Review |
No description provided.
I found we already have a "TypedArrayReduce" method in http://dxr.mozilla.org/mozilla-central/source/js/src/builtin/TypedObject.js#669, so how shall we name this "reduce" method in TypedArray.js?
Flags: needinfo?(evilpies)
Comment 2•9 years ago
|
||
(In reply to ziyunfei from comment #1) > I found we already have a "TypedArrayReduce" method in > http://dxr.mozilla.org/mozilla-central/source/js/src/builtin/TypedObject. > js#669, so how shall we name this "reduce" method in TypedArray.js? That function should be renamed to TypedObjectArrayReduce. R=me on s/TypedArray/TypedObjectArray/ for all functions in TypedObject.js.
Flags: needinfo?(evilpies)
Attachment #8543653 -
Flags: review?(till)
Comment 4•9 years ago
|
||
Comment on attachment 8543653 [details] [diff] [review] s/TypedArray/TypedObjectArray/ in TypedObject.js and TypedObject.cpp Review of attachment 8543653 [details] [diff] [review]: ----------------------------------------------------------------- Thanks!
Attachment #8543653 -
Flags: review?(till) → review+
Attachment #8545157 -
Flags: review?(evilpies)
Updated•9 years ago
|
Attachment #8545157 -
Flags: review?(evilpies) → review+
Comment 7•9 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/f09142ac24fc https://hg.mozilla.org/integration/mozilla-inbound/rev/3b29b9cdedfc
Flags: in-testsuite+
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/f09142ac24fc https://hg.mozilla.org/mozilla-central/rev/3b29b9cdedfc
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla37
Comment 9•9 years ago
|
||
Updated following documents: https://developer.mozilla.org/en-US/Firefox/Releases/37 https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray/reduce https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray/reduceRight
You need to log in
before you can comment on or make changes to this bug.
Description
•