473,399 Members | 2,159 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

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.html','test_window','t oolbar=0,menubar=1,location=0,scrollbars=1');">tes t</
a>
</body>
</html>

and the popup file
<a href="#" onclick="self.close();">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 12913
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.html','test_window','t oolbar=0,menubar=1,location=0,scrollbars=1');">tes t</
a>
</body>
</html>

and the popup file
<a href="#" onclick="self.close();">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.javascript 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.xhtml?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.xhtml?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.javascript 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.xhtml?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
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...
15
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: ...
12
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
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...
1
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...
5
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...
14
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...
2
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...
6
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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,...
0
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...
0
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...
0
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,...

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.