#4695 closed bug (invalid)
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:
- Load http://rentzsch.com/share/jQuery_1.3_teardown_undefined.html in Firefox.
- 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 theclick
handler, the machinery gets confused and thinksgetFoo()
is also an event handler, which it fails to remove.
Change History (3)
comment:1 Changed 14 years ago by
comment:2 Changed 14 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
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.
Note: See
TracTickets for help on using
tickets.
The same problem occur in Chrome 3.0.182.3 under Windows XP SP3.