Side navigation
#3934 closed bug (invalid)
Opened January 21, 2009 08:26AM UTC
Closed August 08, 2009 02:13AM UTC
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)
Change History (3)
Changed February 04, 2009 09:15AM UTC by comment:1
Changed February 25, 2009 05:50PM UTC by comment:2
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 !)
Changed August 08, 2009 02:13AM UTC by comment:3
resolution: | → invalid |
---|---|
status: | new → closed |
Without a test case it's not possible to tell whether this is a bug in jQuery or not.
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