tchEvent, true);
  document.addEventListener("focus", watchEvent, true);
  document.addEventListener("focusin", watchEvent, true);

  input2.focus();
  assert_equals(blurCount, 1, "blur fired once");
  assert_equals(focusoutCount, 1, "focusout fired once");
  assert_equals(focusCount, 1, "focus fired once");
  assert_equals(focusinCount, 1, "focusin fired once");
  assert_equals(document.activeElement, input2, "activeElement is input2");

  document.removeEventListener("blur", watchEvent, true);
  document.