Skip to main content

Module dynamic

Module dynamic 

Source
Expand description

dynamic.

Structs§

DynamicScriptOutcome
DynamicScriptOutcome.

Enums§

JsExecutionMode
Controls only the pre-flight handling of parsed JavaScript-bearing XFA event hooks. JavaScript execution remains denied by javascript_policy.
OutputQuality
OutputQuality.

Functions§

apply_dynamic_scripts
apply_dynamic_scripts.
apply_dynamic_scripts_with_mode
apply_dynamic_scripts_with_mode.
apply_dynamic_scripts_with_runtime
Phase B entry point that lets the caller inject a sandboxed runtime adapter. When mode == JsExecutionMode::SandboxedRuntime the supplied runtime is consulted for every JavaScript script whose <event activity> is in crate::js_runtime::SANDBOX_ACTIVITY_ALLOWLIST. UI / submission activities skip the runtime entirely and are recorded as js_skipped, matching BestEffortStatic behaviour for those scripts.