Skip to main content

Search and Top Navigation

#6236 closed bug (notabug)

Opened October 27, 2010 03:18PM UTC

Closed October 27, 2010 05:39PM UTC

Last modified October 11, 2012 09:15PM UTC

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'); });
Attachments (0)
Change History (2)

Changed October 27, 2010 05:39PM UTC by scottgonzalez comment:1

resolution: → invalid
status: newclosed

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

Changed October 11, 2012 09:15PM UTC by scottgonzalez comment:2

milestone: TBD

Milestone TBD deleted