Ticket #7159 (closed bug: duplicate)
double unbind fails on window object in 1.4.3rc1
| Reported by: | alex3683 | Owned by: | |
|---|---|---|---|
| Priority: | high | Milestone: | 1.4.3 |
| Component: | event | Version: | 1.4.2 |
| Keywords: | bind window unbind | Cc: | |
| Blocking: | Blocked by: |
Description
This bug report holds for 1.4.3rc1:
I attached a scroll listener via bind to window that calls a method doing more than one unbind for that event. If I then scroll the page at least Firefox 3.0, 3.6, Chrome 5.0.375.126 and Safari 4.0.5 throw an error like this:
Error: events is undefined Source file: http://code.jquery.com/jquery-1.4.3rc1.js line: 1979
I attached my test file.
Attachments
Change History
Changed 3 years ago by alex3683
-
attachment
double_unbind_bug_test.html
added
comment:1 Changed 3 years ago by alex3683
Just to make it clear: Neither Internet Explorer 6 nor 8 show that error.
comment:2 Changed 3 years ago by john
- Status changed from new to closed
- Resolution set to duplicate
This was already fixed here: http://github.com/jquery/jquery/commit/1df5084c9748a8d38516266063344f145bc428c0
Duplicate of #7143.
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

A test case for #7159