fired");
  assert_equals(focusinCount, 0, "focusin not fired");
  assert_equals(document.activeElement, document.body, "activeElement is body");

  document.removeEventListener("blur", watchEvent, true);
  document.removeEventListener("focusout", watchEvent, true);
  document.removeEventListener("focus", watchEvent, true);
  document.removeEventListener("focusin", watchEvent, true);
  t.done();
}, "relatedTarget on self blur");

async_test(t => {
  input1.focus();

  let blurCount = 0;
  let focusoutCount =