Bug Tracker

Opened 14 years ago

Closed 14 years ago

#3934 closed bug (invalid)

Bug on closing IE7 with jQuery 1.3

Reported by: bizibiz17 Owned by:
Priority: critical Milestone: 1.3.1
Component: unfiled Version: 1.3
Keywords: IE7 closing browser bug Cc:
Blocked by: Blocking:

Description

Almost always when I close IE7, an error throws (in remove function) comming from jQuery 1.3 because I had the 1.2.6 version and it worked fine with it...

Attachments (2)

BugMessage.jpg (10.6 KB) - added by bizibiz17 14 years ago.
The bug message of the browser
BugSource.jpg (116.4 KB) - added by bizibiz17 14 years ago.
the source code where we can see the bug

Download all attachments as: .zip

Change History (5)

Changed 14 years ago by bizibiz17

Attachment: BugMessage.jpg added

The bug message of the browser

Changed 14 years ago by bizibiz17

Attachment: BugSource.jpg added

the source code where we can see the bug

comment:1 Changed 14 years ago by bizibiz17

Because of this bug i can't use this version of jQuery. I can add that at the loading of my page i use jQuery to bind events like onresize and onload. Maybe this can help you... Thanks

comment:2 Changed 14 years ago by bizibiz17

This bug comes from this code (l. 2397):

Detach an event or set of events from an element

remove: function(elem, types, handler) {

don't do events on text and comment nodes

if ( elem.nodeType == 3
elem.nodeType == 8 )

return;

This code is called when I close the browser or the tab. The element "elem" is "locked", I think this code tried to acces it while its memory reference doesn't exist anymore because the browser is closed ! (Maybe I'm wrong !)

comment:3 Changed 14 years ago by dmethvin

Resolution: invalid
Status: newclosed

Without a test case it's not possible to tell whether this is a bug in jQuery or not.

Note: See TracTickets for help on using tickets.