Bug Tracker

Modify

Ticket #7159 (closed bug: duplicate)

Opened 4 years ago

Last modified 4 years ago

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

double_unbind_bug_test.html Download (540 bytes) - added by alex3683 4 years ago.
A test case for #7159

Change History

Changed 4 years ago by alex3683

A test case for #7159

comment:1 Changed 4 years ago by alex3683

Just to make it clear: Neither Internet Explorer 6 nor 8 show that error.

comment:2 Changed 4 years ago by john

  • Status changed from new to closed
  • Resolution set to duplicate

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.