Opened 12 years ago

Closed 12 years ago

Last modified 10 years ago

#6236 closed bug (notabug)

Throwing an exception from within a hide() callback creates an infinite loop

Reported by: spudly Owned by:
Priority: minor Milestone:
Component: ui.effects.core Version: 1.8.5
Keywords: Cc:
Blocked by: Blocking:


If a callback to the hide method throws an exception, that callback will be called again in an infinite loop. Try the following snippet in your javascript console:

$('a:first').hide('blind', function () { console.log('called'); throw new Error('test'); });

Change History (2)

comment:1 Changed 12 years ago by Scott González

Resolution: invalid
Status: newclosed

This is a bug with all animations. Please report this in the jQuery bug tracker.

comment:2 Changed 10 years ago by Scott González

Milestone: TBD

Milestone TBD deleted

Note: See TracTickets for help on using tickets.