Bug Tracker

Opened 9 years ago

Closed 9 years ago

#6642 closed bug (duplicate)

"unload" browser event leads to an error in jquery 1.4.2 on IE7

Reported by: andreakn Owned by:
Priority: undecided Milestone: 1.4.3
Component: event Version: 1.4.2
Keywords: event error unload Cc:
Blocked by: Blocking:

Description

on line 1919 in the uncompressed jquery-1.4.2.js: I get a bug where events == undefined in IE7 (7.0.5730.13)

the same bug is present in the minified file jquery-1.4.2.min.js

a fix could be to change

var events = jQuery.data(this, "events"), handlers = events[event.type];

into

var events = jQuery.data(this, "events");

var handlers = null; if (events) {

handlers = events[event.type];

}

Change History (3)

comment:1 Changed 9 years ago by dmethvin

Resolution: invalid
Status: newclosed

Please reopen the ticket with a test case demonstrating the bug.

comment:2 Changed 9 years ago by dmethvin

Component: unfiledevent
need: ReviewTest Case
Resolution: invalid
Status: closedreopened

Could be related to the fix in #4106; see also #1365. I'm reopening the ticket to prevent it being lost, but still need a test case.

comment:3 Changed 9 years ago by dmethvin

Priority: undecided
Resolution: duplicate
Status: reopenedclosed

Dup of #4106 (fixed).

Note: See TracTickets for help on using tickets.