Bug Tracker

Opened 11 years ago

Closed 11 years ago

#10476 closed bug (fixed)

Triggering 'focus' event causes 'Uncaught RangeError: Maximum call stack size exceeded'

Reported by: [email protected] Owned by: [email protected]
Priority: undecided Milestone: None
Component: event Version: 1.7b1
Keywords: Cc:
Blocked by: Blocking:


Firefox 7 even crashes. You can reproduce this with ui.dialog, where the method moveToTop contains a trigger call for the focus event. Just open the dialog and click on it: the mousedown event handler now calls moveToTop > which calls widget._trigger > which calls jQuery.trigger > which leads to an infinite event loop.

Change History (2)

comment:1 Changed 11 years ago by Rick Waldron

Component: unfiledevent
Owner: set to [email protected]
Status: newpending

I'm almost certain this is a duplicate, but just in case it's not please provide a complete reduced test case on jsFiddle to help us assess your ticket!

Additionally, be sure to test against the jQuery Edge version to ensure the issue still exists. To get you started, use this boilerplate: http://jsfiddle.net/FrKyN/ Open the link and click to "Fork" (in the top menu) to get started.

comment:2 Changed 11 years ago by dmethvin

Resolution: fixed
Status: pendingclosed

This definitely sounds like the Beta1 problem that's already been fixed. Thanks very much for testing! We'll have a fresh beta in the next couple of days for you to test, if you still see a problem please let us know.

Note: See TracTickets for help on using tickets.