[Webkit-unassigned] [Bug 6261] New: Misc. array object fixes from KJS
bugzilla-daemon at opendarwin.org
bugzilla-daemon at opendarwin.org
Tue Dec 27 14:17:40 PST 2005
http://bugzilla.opendarwin.org/show_bug.cgi?id=6261
Summary: Misc. array object fixes from KJS
Product: WebKit
Version: 412+
Platform: Other
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: JavaScript
AssignedTo: webkit-unassigned at opendarwin.org
ReportedBy: maksim at kde.org
Fixes:
1. Make sure that accesses to arrays with index 2^32-1 via the int path does
not screw things up. 2^32-1 is never a real array index property. (Kind of
icky, I agree)
2. Throw exception on trying to set invalid array length
(As per 15.4.5.1, steps 12 and 13)
3. Do not use a separator argument when doing toString/toLocalString
Mostly merging work by Peter Kelly
#1 and #2 are covered by KJS testcases.
For #3:
var a = new Array;
a[0] = 5;
a[1] = 3;
//Shouldn't use argument for toString
shouldBe("a.toString('!')", "'5,3'");
--
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list