Skip to main content

Bug Tracker

Side navigation

#6642 closed bug (duplicate)

Opened June 07, 2010 10:37AM UTC

Closed October 02, 2010 02:00PM UTC

"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:

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 =, "events"), handlers = events[event.type];


var events =, "events");

var handlers = null;

if (events) {

handlers = events[event.type];


Attachments (0)
Change History (3)

Changed June 09, 2010 01:36AM UTC by dmethvin comment:1

resolution: → invalid
status: newclosed

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

Changed June 12, 2010 01:11PM UTC by dmethvin comment:2

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.

Changed October 02, 2010 02:00PM UTC by dmethvin comment:3

priority: → undecided
resolution: → duplicate
status: reopenedclosed

Dup of #4106 (fixed).