You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When serializing a big structure to a JSON-string, Safari raises the error
"Maximum call stack size
exceeded". See attached test-case.
This is actually caused by a bug in Safari:
http://bugs.webkit.org/show_bug.cgi?id=4045
This is a won't fix in base2, but when you might encounter this bug, you know
where to look.
Can someone verify this for Safari beta 3 on Windows?
Original issue reported on code.google.com by doek...@gmail.com on 9 Jul 2007 at 4:42
One more note: if you use the method "apply" like below, you get 49 stack
levels (actually, the apply in itself is a
also a call, so you still have a 100 level limit, but not what you thought):
var i=0;
var recursionTest=function() {
i++;
arguments.callee.apply(this,arguments);
}
Original comment by doek...@gmail.com on 9 Jul 2007 at 5:23
Original issue reported on code.google.com by
doek...@gmail.com
on 9 Jul 2007 at 4:42Attachments:
The text was updated successfully, but these errors were encountered: