N");
  form.appendChild(submitButton);
  form.addEventListener("submit", event => {
    event.preventDefault();
    submitEvent = event;
  });
  document.body.appendChild(form);
  return { form, submitButton };
}

test(() => {
  const { submitButton } = prepareForm();
  submitButton.click();
  assert_equals(submitEvent.submitter, submitButton, "Submitter is set");
}, "Clicking a submit button sets the submitter");

test(() => {
  const { form, submitButton } = prepareForm();
  form.requestSubmit(submitButto