fn inner_invoke(
event: &Event,
listeners: &EventListeners,
phase: ListenerPhase,
invocation_target_in_shadow_tree: bool,
timeline_window: Option<&Window>,
legacy_output_did_listeners_throw: Option<&Cell<bool>>,
can_gc: CanGc,
) -> bool