Skip to main content

Bug Tracker

Side navigation

#6234 closed bug (fixed)

Opened March 05, 2010 04:26PM UTC

Closed October 03, 2010 10:51PM UTC

Last modified June 14, 2011 07:42PM UTC

mouseenter/mouseleave/hover event handler exceptions are caught unexpectedly

Reported by: btburnett3 Owned by:
Priority: undecided Milestone: 1.4.3
Component: event Version: 1.4.2
Keywords: Cc:
Blocked by: Blocking:
Description

If the event handler for a mouseenter, mouseleave, or hover event throws an exception, this exception is caught by jQuery and not rethrown. This behavior is inconsistent with other event bindings, which do not catch exceptions in the event handlers.

Attachments (1)
  • test.html (0.6 KB) - added by btburnett3 March 05, 2010 04:27PM UTC.

    Test Case

Change History (3)

Changed March 12, 2010 10:10PM UTC by btburnett3 comment:1

Changed October 03, 2010 10:51PM UTC by addyosmani comment:2

need: ReviewPatch
priority: → undecided
resolution: → invalid
status: newclosed

Invalid: I've tested your submitted test.html in both FireFox and Safari and both do not fire an exception when you hover/mouse over the shadowed box.

Could you please re-submit your ticket stating what browser and operating system you experienced the bug in?.

Changed June 14, 2011 07:42PM UTC by rwldrn comment:3

resolution: invalidfixed

Landing pull request 397. withinElement rewrite in event. Fixes #6234, #9357, #9447.

More Details:

Changeset: 6926247bf441deaa0441872849bb3786c257a4cf