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
Copy file name to clipboardExpand all lines: Jint/Options.cs
+11Lines changed: 11 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,7 @@
9
9
usingJint.Runtime.Debugger;
10
10
usingJint.Runtime.Descriptors;
11
11
usingJint.Runtime.Modules;
12
+
usingJint.Runtime.CallStack;
12
13
13
14
namespaceJint
14
15
{
@@ -385,6 +386,16 @@ public class ConstraintOptions
385
386
/// </summary>
386
387
publicintMaxRecursionDepth{get;set;}=-1;
387
388
389
+
/// <summary>
390
+
/// Maximum recursion stack count, defaults to -1 (as-is dotnet stacktrace).
391
+
/// </summary>
392
+
/// <remarks>
393
+
/// Chrome and V8 based engines (ClearScript) that can handle 13955.
394
+
/// When set to a different value except -1, it can reduce slight performance/stack trace readability drawback. (after hitting the engine's own limit),
395
+
/// When max stack size to be exceeded, Engine throws an exception <see cref="JavaScriptException">.
0 commit comments