pub(crate) fn submit_event_ctor(
it: &mut Interp,
t: Value,
a: &[Value],
) -> Result<Value, Value>Expand description
new SubmitEvent(type, options)(丸ごと未対応だった。form. dispatchEvent(new SubmitEvent('submit', {submitter})) という「どの
ボタンで送信されたか」を伝えるシミュレーションの定番パターン)。基底の
Event プロパティは event_ctor を再利用し、submitter のみ追加する。