mit();
  assert_true(listener1ok);
  assert_true(listener2ok);
}, '"formData" IDL attribute should have entries for form-associated elements' +
     ' in the first event handler, and the second handler can read entries ' +
     'set by the first handler.');

let t1 = async_test('Entries added to "formData" IDL attribute should be submitted.');
t1.step(() => {
  let form = populateForm('<input name=n1 value=v1>');
  form.addEventListener('formdata', e => {
    e.formData.append('h1', 'vh1');
  });
  let ifra