Skip to main content

Bug Tracker

Side navigation

#5710 closed bug (invalid)

Opened December 24, 2009 10:06AM UTC

Closed June 13, 2010 11:21PM UTC

v. 1.4a2 - Too much recursions

Reported by: cistox Owned by:
Priority: major Milestone: 1.4
Component: unfiled Version: 1.4a2
Keywords: Cc:
Blocked by: Blocking:
Description

Using Firefox 3.5.6

The 2nd row of the below reported code is causing "too much recursions"

jquery 1.4a2 source snapshot


proxy: function( fn, proxy, thisObject ) {

if ( proxy !== undefined && !jQuery.isFunction( proxy ) ) {

thisObject = proxy;

proxy = undefined;

}

FIXME: Should proxy be redefined to be applied with thisObject if defined?

proxy = proxy || function() { return fn.apply( thisObject !== undefined ? thisObject : this, arguments ); };

Set the guid of unique handler to the same of original handler, so it can be removed

proxy.guid = fn.guid = fn.guid || proxy.guid || this.guid++;

// So proxy can be declared as an argument

return proxy;

},

Attachments (0)
Change History (1)

Changed June 13, 2010 11:21PM UTC by dmethvin comment:1

resolution: → invalid
status: newclosed

Please reopen with a test case.