Subj : Re: Limit of lines of JS-Code? To : netscape.public.mozilla.jseng From : Daniel Kirsch Date : Fri Jun 03 2005 10:39 am Brendan Eich wrote: > Please file a bug at https://bugzilla.mozilla.org/ and attach the > minimal testcase. A minimal testcase might be a problem. The error happens with a total of 267 js files with more than 1,2 MB of code. Using less code doesn't seem to be reproduceable. I will try to create one anyway. Our current workaround is using script elements in our XUL file to load the javascript files instead of including them with the jslib "include" function (using the "mozIJSSubScriptLoader" service). > That's odd. Yes of course, it is :-) > Not without a bug with a reproducible testcase attached. Major bonus > points if you can get this to reproduce using just js shell or xpcshell. I'm not sure what you mean with js shell or xpcshell. (Currently we don't embed the jsengine, we use FF with a chrome param). Daniel .