Selector('input[type=image]');
  form.addEventListener('submit', e => {
    e.preventDefault();
    formDataInEvent = new FormData(e.target);
  });

  submitter.click();
  assert_equals(formDataInEvent.get('n1'), 'v1');
  assert_false(formDataInEvent.has('n2.x'));
  assert_false(formDataInEvent.has('n2.y'));
}, 'The constructed FormData object should not contain an entry for the image submit button that was used to submit the form.');
</script>
