Skip to main content

Bug Tracker

Side navigation

#3865 closed bug (duplicate)

Opened January 15, 2009 10:04AM UTC

Closed January 15, 2009 02:05PM UTC

Last modified March 15, 2012 02:55PM UTC

After jQuery update to v1.3 - Infinite loop cause Firefox hangs and IE error.

Reported by: soswow Owned by: john
Priority: critical Milestone: 1.3.1
Component: selector Version: 1.3
Keywords: Cc:
Blocked by: Blocking:

After updating to jQuery to version 1.3 my old script start killing Firefox and cause IE error.

Try to run this code with jQuery 1.3:

    $("#main LI:not(.current) A").css("background-color","gray");

With HTML:

<div id="main">


<li class="current"><a href="#">Current</a></li>

<li class="item"><a href="#">Item</a></li>

<li class="item"><a href="#">Item</a></li>



And you get Firefox fail. IE with text:

"Stop running this script?

A script on this page is causing Internet Explorer to run slowly. If it continues to run, your computer may bacome unresponsive"

Chrome works fine.

Attachments (1)
  • test2.html (0.7 KB) - added by soswow January 15, 2009 11:16AM UTC.

    Reproduction test file

Change History (3)

Changed January 15, 2009 01:45PM UTC by john comment:1

version: → 1.3

Changed January 15, 2009 02:05PM UTC by john comment:2

resolution: → duplicate
status: newclosed

Ok, it looks like this is a duplicate of #3837.

Changed January 15, 2009 02:13PM UTC by soswow comment:3

john, Yes. Sorry, I realy tried to use search before creating new ticket. Next time I will be more considerate.