Skip to main content

Bug Tracker

Side navigation

#5682 closed bug (invalid)

Opened December 19, 2009 02:14PM UTC

Closed November 08, 2010 07:19AM UTC

mouseenter/mouseleave from or to a scrollbar cause error in Firefox

Reported by: dragon Owned by: brandon
Priority: major Milestone: 1.4
Component: event Version: 1.4a1
Keywords: mouseleave mouseover live Cc:
Blocked by: Blocking:

The firebug report is:

Permission denied to access property 'nodeType' from a non-chrome context

Line 76

What I have is a div with overflow:auto (I guess scroll should be OK too).

And :

$("a",/* the div as context*/).live("mouseleave", function () {

// do stuff;

}, /* an object here */);

When I mouse the mouse cursor from an Anchor node to the scrollbar the error is raised and my function is not triggered.

Attachments (0)
Change History (3)

Changed January 14, 2010 09:14AM UTC by dragon comment:1

Adding this line of code fixed the problem, but I am not really sure it is a wise thing to do:

jQuery 1.4

  • Date: Wed Jan 13 15:23:05 2010 -0500

Line 84:

try { selector.nodeType } catch(e) { this.context = this[0] = selector = document; this.length = 1; return this; }

Changed February 13, 2010 06:38PM UTC by dragon comment:2

I do not know hot to close this one - apparently it was a firebug issue. It stopped appearing in 1.4.1 (but I also updated firebug).

Sorry for the invalid report.

Changed November 08, 2010 07:19AM UTC by addyosmani comment:3

resolution: → invalid
status: newclosed

Closing as this bug has been confirmed by the submitting user as being a FireBug issue and not a jQuery core issue.