pub(crate) fn focus_event_ctor(
it: &mut Interp,
t: Value,
a: &[Value],
) -> Result<Value, Value>Expand description
new FocusEvent(type, options)(丸ごと未対応だった。el.dispatchEvent(new FocusEvent('focusout', {relatedTarget})) というフォーカス移動
シミュレーションの定番パターン)。基底の Event プロパティは
event_ctor を再利用し、relatedTarget のみ追加する。