TXFAFormScriptLimits Record

TXFAFormScriptLimits.Default supplies non-zero limits for every scripting resource

MaxScriptBytes, MaxOperations, MaxElapsedMilliseconds, MaxExpressionDepth, MaxArrayItems, MaxValueBytes, and MaxInstanceOperations bound the common XFA layer

JavaScriptMemoryBytes, JavaScriptStackBytes, and JavaScriptInterruptChecks map directly onto the QuickJS bridge runtime; the stack boundary also limits recursion

See Bounded XFA FormCalc and JavaScript