Ticket #4733 (closed bug: worksforme)
makeArray sometimes breaks on DOM Elements
|Reported by:||appden||Owned by:||flesler|
This function queries for a 'length' property and then makes a false assumption that a DOM element's 'length' is undefined. This sometimes is a false assumption and can cause havoc.
In my case, a Firefox 3 memory bug sometimes caused an element to return a *gigantic* number as its length, causing an unresponsive script error when makeArray tried to loop through that huge number.
makeArray should have a more explicit test on its input.