473,698 Members | 2,873 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Firefox 2.0.0.2 Error: too much recursion

I'm getting lots of "Error: too much recursion" in my Firefox Error
Console

I have created these little files to test it. It justs opens a new
window and closes it again. I see plenty of errors showing up in the
Error Console

The main file:
<html>
<body>
<a href="#"
onclick="window .open('popup.ht ml','test_windo w','toolbar=0,m enubar=1,locati on=0,scrollbars =1');">test</
a>
</body>
</html>

and the popup file
<a href="#" onclick="self.c lose();">close</a>

I kept the files as simple as possible to track down the error hope it
isn't to simple.

Thanks, Daniel

Mar 11 '07 #1
4 12931
Daniel Guettler said the following on 3/11/2007 12:52 AM:
I'm getting lots of "Error: too much recursion" in my Firefox Error
Console

I have created these little files to test it. It justs opens a new
window and closes it again. I see plenty of errors showing up in the
Error Console

The main file:
<html>
<body>
<a href="#"
onclick="window .open('popup.ht ml','test_windo w','toolbar=0,m enubar=1,locati on=0,scrollbars =1');">test</
a>
</body>
</html>

and the popup file
<a href="#" onclick="self.c lose();">close</a>

I kept the files as simple as possible to track down the error hope it
isn't to simple.
Either it is too simple or something else is going on as I can not
reproduce it using FF 2.0.0.2 on WinXP.
--
Randy
Chance Favors The Prepared Mind
comp.lang.javas cript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Mar 11 '07 #2
Randy Webb <Hi************ @aol.comwrote:
>
Either it is too simple or something else is going on as I can not
reproduce it using FF 2.0.0.2 on WinXP.
I had something like that yestersay too (under MacOS X) :

"too much recursion"

BUT surprisingly this morning with the same page :

<http://91.57.96.20/DHTML/fixed_layout.xh tml?color=brown >

i do not have any more this error message...

i've remarked sometime FF2.0.0.2 duplicates tabs, for example, today i
have 11 tabs opened (saved by Prefs Current pages).

but yesterday i had n times those 11 tabs opened )))

as far as i remember well n was about 4 !!!

and also, again under MacOS X, ff2.0.0.2 complains about internal
javascript being in error...
--
Une Bévue
Mar 11 '07 #3
Une Bévue said the following on 3/11/2007 6:25 AM:
Randy Webb <Hi************ @aol.comwrote:
>Either it is too simple or something else is going on as I can not
reproduce it using FF 2.0.0.2 on WinXP.

I had something like that yestersay too (under MacOS X) :
The OP's headers indicate MacOS X as well so it may be something unique
to the FF and OS X as I still can't duplicate it on a PC.
"too much recursion"

BUT surprisingly this morning with the same page :

<http://91.57.96.20/DHTML/fixed_layout.xh tml?color=brown >

i do not have any more this error message...
That indicates, again, that it is something going on with FF2/OS X and
not the code.

--
Randy
Chance Favors The Prepared Mind
comp.lang.javas cript FAQ - http://jibbering.com/faq/index.html
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Mar 11 '07 #4
VK
I had something like that yestersay too (under MacOS X) :
>
The OP's headers indicate MacOS X as well so it may be something unique
to the FF and OS X as I still can't duplicate it on a PC.
"too much recursion"
BUT surprisingly this morning with the same page :
<http://91.57.96.20/DHTML/fixed_layout.xh tml?color=brown >
i do not have any more this error message...

That indicates, again, that it is something going on with FF2/OS X and
not the code.
I couldn't load the linked page (404) to compare, but did you try to
compare the behavior with name for popup and w/o it? (2nd argument in
window.open method). Gecko engine retains the original recursion limit
from JavaScript 1.0: no more than 1000 recursions per context
http://groups.google.com/group/mozil...934d626c75f7d3

I don't know exactly how window.open might cause exceeding this limit,
but one of speculations could be an OS-specific gc failure with
references in window.frames collection. Just a guess.

Mar 11 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
7778
by: Christian Hubinger | last post by:
Hi! I've implemented some DropDown list in ASP.NET that use Ajax to fetch the data from the server. The javascript is written to call cascading to the bottom most dropdown in order to update them all if a top one changed. The strange thing is that the script runs without problems on IE but in FireFox i get a "too much recursion" error and nothing happens. Here is the javascript code generated:
15
19882
by: Dan | last post by:
Hi. I've got the following line of code which works fine in IE ... line_1_numbers = document.getElementsByTagName ('table').rows (0).cells (0).innerText; But it Firefox, it barks saying: "Error: document.getElementsByTagName("table").rows is not a function"
12
2042
by: Brad | last post by:
Does anyone have any other solutions to the Firefox rendering problems with ASP.NET? I've tried the <browsercaps> web.config trick. It didn't work. Am I overlooking something else? Thanks!
7
27130
by: Hoss | last post by:
Hello all- This is what im trying to achieve. At the top of my page there is some search functionality, through which you cause to be loaded a string representing an HTML page. Below this and occuupying about 80% of the window real estate, there is a DIV. There is also a toggle button with two options "Code View" and "Text View" as I have named them. Depending on which mode you are in, you can see the block of HTML either as code (in...
1
17580
by: Sylaris | last post by:
hi, i have a problem which recursion fits perfectly, however; after working with the base function (which has no errors and works correctly) the recursions return a "function not defined" error in ff's js console. i tried a few things that came to mind but nothing has changed it... i found some interesting articles on the net regarding javascript's callbacks, and found out that due to callbacks recursion may end up eating a lot more memory than...
5
2533
by: Alan Silver | last post by:
Hello, Server configuration: Windows 2003 Server SP2 SQL Server 2000 SP4 ..NET v2.0.50727 just built up a new server using the same configuration as my current one. I even used the same CDs and registration keys, so I'm certain that the two machines are as similar as they can be.
14
5186
RMWChaos
by: RMWChaos | last post by:
Firebug is reporting "too much recursion" when I attempt to create a child element in a parent that doesn't exist yet. The script should automatically create the missing parent before going on to create the child element. At the point where the script is supposed to call itself with the new properties to create the parent, it gives me the error and looks like it's looping the function continuously. It seems that "id : attrib" (line 192) is...
2
1902
by: Rainmanjam | last post by:
I am trying to run the following. it is a sample page from Microsoft Live Maps API. http://njection.com/test.html it works on opera and IE, it doesn't work in mozilla based browsers. Can anyone help?
6
3154
by: Patient Guy | last post by:
I am a newcomer to using PHP but not to programming (C, C++, Javascript). I am playing around with classes and wanted to make a function that has a method simply for producing either plain text or HTML output in a tabular way a listing of the global variables in the = keyValue two-column format. That's what the method listGlobals does. I am stumped by the following error message: PHP Catchable fatal error: Object of class phpEnv...
0
8683
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8611
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9170
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9031
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8904
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8876
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7741
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4372
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
2341
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.