Native-owned, per-document JavaScript host using Node's vm.Script.
Remarks
Configure a Context before loading documents. RmlUi executes head scripts
in resource order when head closes, before body parsing. Each loaded
document retains its selected host even when the Context changes hosts.
A VM context is not a security boundary. Only trusted sources may be enabled.
document/context have checked native lifetimes; event expires after dispatch.
Native-owned, per-document JavaScript host using Node's vm.Script.
Remarks
Configure a Context before loading documents. RmlUi executes head scripts in resource order when head closes, before body parsing. Each loaded document retains its selected host even when the Context changes hosts. A VM context is not a security boundary. Only trusted sources may be enabled. document/context have checked native lifetimes; event expires after dispatch.