Skip to main content

Bug Tracker

Side navigation

#4695 closed bug (invalid)

Opened May 29, 2009 06:04AM UTC

Closed May 29, 2009 11:55PM UTC

Last modified May 30, 2009 12:09AM UTC

Rrror: jQuery.event.specialAll[type].teardown is undefined

Reported by: rentzsch Owned by:
Priority: major Milestone: 1.4
Component: unfiled Version: 1.3.2
Keywords: Cc:
Blocked by: Blocking:
Description

Reproduction:

1. Load http://rentzsch.com/share/jQuery_1.3_teardown_undefined.html in Firefox.

2. Reload the page.

Expected:

• Page reloads normally.

Actual:

• An error is logged:

Error: jQuery.event.specialAll[type].teardown is undefined
Source File: http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.js
Line: 2561

Environment:

• Mac OS X/Intel 10.5.6

• Firefox 3.0.10

Regression:

• Does NOT appear in 1.2.6.

• DOES appear in 1.3.

• DOES appear in 1.3.1.

Notes:

• "Bob" has the same issue on Firefox 3.0.10 on Ubuntu: http://groups.google.com/group/jquery-dev/msg/0996558bbedae24a

• Coda 1.6.4, which uses WebKit, reports 2561: Undefined value upon reloading the page. So this bug doesn't look Firefox-specific.

• The Object.prototype.getFoo assignment seems critical. It appears upon removing the click handler, the machinery gets confused and thinks getFoo() is also an event handler, which it fails to remove.

Attachments (0)
Change History (3)

Changed May 29, 2009 10:17AM UTC by wd.acgrs comment:1

The same problem occur in Chrome 3.0.182.3 under Windows XP SP3.

Changed May 29, 2009 11:55PM UTC by dmethvin comment:2

resolution: → invalid
status: newclosed

Yes, jQuery does not support code that modifies Object.prototype. There are several discussions of this on the dev group. It may be supported in the future but is not supported now.

Changed May 30, 2009 12:09AM UTC by dmethvin comment:3

See #2721 for the open ticket on this.