pub fn run_a_script<D: DomTypes, R>(
global: &D::GlobalScope,
f: impl FnOnce() -> R,
) -> RExpand description
Wrapper that pushes and pops entries from the script settings stack.
https://html.spec.whatwg.org/multipage/#prepare-to-run-script https://html.spec.whatwg.org/multipage/#clean-up-after-running-script