Donald - It looks like a bug has been filed here: http://dev.jquery.com/ticket/3837
Checking in to it - thanks! --John On Tue, Jan 13, 2009 at 4:21 PM, Donald @ White Whale <[email protected]> wrote: > > Okay, so I was right the first time. It does occur in 1.3rc2, but not > 1.3b2. My confusion comes from the page content changing -- I'd > assumed that the bug came from something in my JS, not in the > (dynamically generated) HTML. > > The bug down to a complex (but not invalid, as far as I know) > selector: > $('.container div:not(.excluded) div'); > > It does not cause the loop... > - in WebKit > - in 1.3b2 > - if you use '.container :not(.excluded) div' instead > - if 'div.excluded' or '.excluded div' do not exist. > > Here's the full test case (warning, infinite loop!) with links to each > of the working variations: > http://www.babywhale.net/loop/ > > -- Donald > > On Jan 13, 12:19 pm, "Donald @ White Whale" > <[email protected]> wrote: >> Sorry, I take that back -- the loop occurs in 1.3b2 as well, it must >> be a change made locally within the past several hours. I'll update if >> I sort it out. >> >> D >> >> On Jan 13, 12:15 pm, "Donald @ White Whale" >> >> <[email protected]> wrote: >> > John, >> >> > On a page in a webapp I'm working on I get a infinite* loop at line >> > 1769: >> > for ( var i = 0; !curLoop[i]; i++ ){} >> > in Firefox 3. WebKit does not have the same error. >> >> > Same page worked fine in 1.2.6 and in 1.3b2. I'll try to get a >> > reduction/testcase later on tonight (working under a deadline right >> > now), but thought I'd give the heads up that I ran into that. >> >> > D >> >> > * FF aborts around i = 114318046, I assume it's infinite :) >> >> > On Jan 12, 4:19 pm, "John Resig" <[email protected]> wrote: >> >> > > Hey Everyone - >> >> > > jQuery 1.3rc2 is ready. This means that 1.3 is effectively finished >> > > barring a horrible bug between now and the final release on Wednesday >> > > (the 14th). >> >> > > You can grab the source here:http://code.jquery.com/jquery-1.3rc2.js >> >> > > Please let me know, personally, if you find some bad new bug and we >> > > can triage it together. >> >> > > A screenshot of the final test run can be found here (on 8 >> > > browsers):http://www.flickr.com/photos/jeresig/3192101251/ >> >> > > A couple bugs were found in last night's rc1 one (a problem with >> > > :not(:first) failing, and two problems with disconnected elements >> > > causing problems). >> >> > > As of right now users of the Validation plugin and jQuery UI will both >> > > need to upgrade to the latest release when they upgrade to jQuery 1.3. >> >> > > --John > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jquery-dev?hl=en -~----------~----~----~----~------~----~------~--~---
