);
    window.stop();
  });
  window.onunload = () => {
    unloaded = true;
  };
  t.step_timeout(() => {
    // The document should not have unloaded.
    assert_equals(unloaded, false);
    t.done();
  }, 100);
});
</script>
<form id="form">