pub fn run_a_script<D, R, C>(
cx: &mut C,
global: &D::GlobalScope,
f: impl FnOnce(&mut C) -> 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