[Webkit-unassigned] [Bug 14132] New: array sort with > 10000 elements sets elements > 10000 undefined

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 13 18:46:52 PDT 2007


http://bugs.webkit.org/show_bug.cgi?id=14132

           Summary: array sort with > 10000 elements sets elements > 10000
                    undefined
           Product: WebKit
           Version: 522+ (nightly)
          Platform: PC
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: bugzilla at arctur.us


Sorting arrays with more than 10,000 elements leaves elements beyond 10,000
undefined.  Loading the attached html file in Safari 2 and 3 (419.3 on OS X
10.4.8 and 522.11.3 on Windows XP) gives me the following:


Test Result

test length: 10010
test[9999]: 9999
test[10000]: 10000
test[9990:10010]: [9990, 9991, 9992, 9993, 9994, 9995, 9996, 9997, 9998, 9999,
10000, 10001, 10002, 10003, 10004, 10005, 10006, 10007, 10008, 10009]

sorting array

test length: 10010
test[9999]: 9999
test[10000]: undefined
test[9990:10010]: [9990, 9991, 9992, 9993, 9994, 9995, 9996, 9997, 9998, 9999,
, , , , , , , , , ]


While Firefox and IE both give me:


Test Result

test length: 10010
test[9999]: 9999
test[10000]: 10000
test[9990:10010]: [9990, 9991, 9992, 9993, 9994, 9995, 9996, 9997, 9998, 9999,
10000, 10001, 10002, 10003, 10004, 10005, 10006, 10007, 10008, 10009]

sorting array

test length: 10010
test[9999]: 9999
test[10000]: 10000
test[9990:10010]: [9990, 9991, 9992, 9993, 9994, 9995, 9996, 9997, 9998, 9999,
10000, 10001, 10002, 10003, 10004, 10005, 10006, 10007, 10008, 10009]


-- 
Configure bugmail: http://bugs.webkit.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