.step_func(e => {
      canceled_in_second_handler = e.defaultPrevented;
    }));
    navigation.navigate("?1").committed.catch((error) => {
      assert_true(abort_signal.aborted);
      assert_true(onabort_called);
      assert_true(canceled_in_second_handler);
      t.done();
    });
  });
}, "window.stop() signals event.signal inside a navigate event handler");
</script>
