I don't know if this helps answer your specific question, but the Safari web browser has by far the lowest max stack depth I've seen: 100. (Which is low enough IMO to trigger an error under normal, non- error circumstances). Perhaps that number would factor into your calculus somehow in order to maintain x-browser compatibility?
On Jun 2, 2006, at 12:10 PM, P T Withington wrote: > I'm working on a hack in the debugger that will let us 'catch' stack > overflows and see a backtrace (rather than the current browser > behavior which is to just tell you that you lost). > > I did this to figure out why printing of random objects in Opera was > failing (it turns out that in Opera, you cannot ask `x instanceof > Node`. For now I am asking `(! isNaN(Number(thing['nodeType'])))`. > I'm open to better suggestions.) > > Anyways, should I have a default max stack depth (other than > Infinity), and if so, what do you think it should be? Or should I > just use Infinity and let you crank it down when you really want to > know? > _______________________________________________ > Laszlo-dev mailing list > [email protected] > http://www.openlaszlo.org/mailman/listinfo/laszlo-dev _______________________________________________ Laszlo-dev mailing list [email protected] http://www.openlaszlo.org/mailman/listinfo/laszlo-dev
