> { dialog.close(); });
    assert_equals(document.activeElement, outerInput,
      "dialog.show(): focusing steps should not change focus when dialog is inert");
  }
}

test(function() {
  test_focusing_steps_with_inert_dialog(this, false);
}, "dialog.show(): focusing steps should not change focus when dialog is inert");

test(function() {
  test_focusing_steps_with_inert_dialog(this, true);
}, "dialog.showModal(): focusing steps should apply focus fixup rule when dialog is inert");
</script>
</body>
</htm