Bug Tracker

Opened 10 years ago

Closed 10 years ago

#6501 closed bug (worksforme)

$.map uses concat.apply, so number of elements in processing array is limited

Reported by: fedor.indutny Owned by:
Priority: Milestone: 1.4.3
Component: core Version: 1.4.2
Keywords: $.map, concat, arguments count Cc:
Blocked by: Blocking:

Description

If you try to $.map array with 100000 Elements you will get following error: "Function.prototype.apply cannot support 200001 arguments".

Attachments (1)

testcase.html (373 bytes) - added by fedor.indutny 10 years ago.
Test case

Download all attachments as: .zip

Change History (2)

Changed 10 years ago by fedor.indutny

Attachment: testcase.html added

Test case

comment:1 Changed 10 years ago by dmethvin

Component: unfiledcore
Resolution: worksforme
Status: newclosed

Works fine for me with Firefox 3.6.3. In any case, 100,000 is a lot of elements.

Note: See TracTickets for help on using tickets.