Skip to main content

Bug Tracker

Side navigation

#10476 closed bug (fixed)

Opened October 11, 2011 04:14PM UTC

Closed October 12, 2011 02:43AM UTC

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

Reported by: muratc@smartstore.de Owned by: muratc@smartstore.de
Priority: undecided Milestone: None
Component: event Version: 1.7b1
Keywords: Cc:
Blocked by: Blocking:
Description

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.

Attachments (0)
Change History (2)

Changed October 11, 2011 04:18PM UTC by rwaldron comment:1

component: unfiledevent
owner: → muratc@smartstore.de
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.

Changed October 12, 2011 02:43AM UTC by dmethvin comment:2

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.