pub fn run_a_callback<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-a-callback https://html.spec.whatwg.org/multipage/#clean-up-after-running-a-callback