WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
6261
Misc. array object fixes from KJS
https://bugs.webkit.org/show_bug.cgi?id=6261
Summary
Misc. array object fixes from KJS
Maks Orlovich
Reported
2005-12-27 14:17:40 PST
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'");
Attachments
patch
(3.07 KB, patch)
2005-12-27 14:18 PST
,
Maks Orlovich
mjs
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Maks Orlovich
Comment 1
2005-12-27 14:18:04 PST
Created
attachment 5311
[details]
patch
Maciej Stachowiak
Comment 2
2005-12-29 00:27:12 PST
Comment on
attachment 5311
[details]
patch r=me, the ad-hoc test for toString needs to be converted to a proper layout test.
Maciej Stachowiak
Comment 3
2005-12-29 01:16:57 PST
Comment on
attachment 5311
[details]
patch r=me
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug