Closed
Bug 310342
Opened 19 years ago
Closed 16 years ago
Static counterparts for generic methods in String and Array
Categories
(Rhino Graveyard :: Core, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: igor, Unassigned)
Details
Attachments
(1 file)
23.09 KB,
patch
|
Details | Diff | Splinter Review |
Rhino should add a static counterpart of generic methods of Array.prototype and String.prototype as described in http://developer.mozilla.org/en/docs/New_in_JavaScript_1.6#Array_and_String_generics . This is Rhino version of SpiderMonkey bug 304828.
Reporter | ||
Comment 1•19 years ago
|
||
The patch adds all generic methods from SpiderMonkey sources to String and Array constructors. In addition I moved the code from ScriptRuntime.applyOrCall to convert argument to thisObj into separated ScriptRuntime.getThisFromArgs. Patch use it to implement generic calls and thisObj extraction in NativeArray.iterativeMethods added as a part of fix for bug 310323.
Reporter | ||
Comment 2•18 years ago
|
||
Reassigning to please_see_bug_288433@eml.cc pending resolution of bug 288433
Assignee: igor.bukanov → please_see_bug_288433
Assignee: please_see_bug_288433 → nobody
Comment 3•17 years ago
|
||
I tried to merge the patch in but it has conflicts with more recent changes. So it will take more work to integrate.
Comment 4•16 years ago
|
||
This functionality was implemented in 1.7R1 I believe.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•