ScriptLimits

From Gnash Project Wiki

Jump to: navigation, search

Limits

Known limits are:

  • ScriptTimeoutSeconds - responsible for that dialogue that pops up after 15 seconds - starting with SWF7 it can be changed with a ScriptLimits tag.
  • MaxCallStackDepth - default to 256, max depth for function call stack - starting with SWF7 it can be changed with a ScriptLimits tag.
  • MaxInheritanceCrawlingDepth - the number of parents crawled when looking for getter-setters. 255 by default (253 for SWF5-?)

Gnash

As of 0.8.9 Gnash implements ScriptTimeout using an hard-coded 40 real-time seconds timeout, checking the time on every jump-back (loop iteration). In 0.8.10dev the number of seconds can also be overwritten by the specific SWF tag.

For MaxCallStackDepth Gnash uses a limit on function call stack.

References