e(controls[2].i.willValidate, 'with readOnly attribute');
  assert_false(controls[3].i.willValidate, 'in datalist');
  assert_false(controls[4].i.willValidate, 'in disabled fieldset');
}, 'willValidate after upgrade');

test(t => {
  const control = document.createElement('will-be-defined-2');

  customElements.define('will-be-defined-2', class extends HTMLElement {
    static get formAssociated() { return true; }
  });

  container.append(control);
  t.add_cleanup(() => { container.innerHTML = ''; });

  c