Ticket #4583 (closed bug: notabug)

Opened 4 years ago

Last modified 7 months ago

IE6 & IE7 crash as Jquery UI loads

Reported by: neuronix Owned by:
Priority: blocker Milestone:
Component: ui.core Version: 1.7.2
Keywords: IE6 IE7 crash page freeze Cc: cuby87@…
Blocking: Blocked by:

Description

IE just simply crashes as the UI loads on certain pages. The bug is not random but depends on the page loaded.

I'm not a browser specialist so i'm sorry to not be able to five any idea on the bug. I some how think that IE just cannot handle the UI intialization on complex pages (in my case 18Ko page of a browser game).. sort of overflow ?

The message (red cross modal error window) is : "Internet Explorer cannot open the Internet site :  http://myurl.com Operation aborted."

Herewith a screenshot. I'm sorry the site is a bêta version so you won't be able to access it.

Attachments

ie6_ie7_jquery_ui_crash.jpg Download (201.0 KB) - added by neuronix 4 years ago.
Screenshot of the error message

Change History

Changed 4 years ago by neuronix

Screenshot of the error message

comment:1 Changed 4 years ago by joern.zaefferer

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

There is no way to "fix" this without a testpage.

comment:2 Changed 4 years ago by chesles

I'm getting the same error from IE 6 and 7; haven't tested in IE 8 yet.

the bug seems to happen for me only when I use a datepicker. It's hard to debug because of IE's caching and the way it handles the error. IE6 crashes completely; IE7 says "Internet Explorer cannot display the webpage". Then IE seems to have the cached page with the offending datepicker() call for a while, but eventually it reloads a version of the JS without any datepicker() and other than no datepicker, is just fine!

I will try to reproduce the problem on a test page and post a link as soon as I can.

comment:3 Changed 4 years ago by chesles

a bit of playing around showed that putting the call to datepicker() within $(document).ready like so:

$(document).ready(function () { $("#date").datepicker() });

makes IE not crash :)

it could be nice to update the docs/examples on using jqueryui to use the ready() event. my mistake was copy & pasting from the examples and while the thought crossed my mind that these calls should maybe be called on the ready() event, 1) they weren't in the examples, and 2) it works just fine in any browser other than IE, so i left them as-is. :P

comment:4 Changed 7 months ago by scott.gonzalez

  • Milestone TBD deleted

Milestone TBD deleted

Note: See TracTickets for help on using tickets.