Skip to content

armgit / moli

Public Imported from GitHub
0

Best headless browser for AI agents. Lite, Fast, High-Compatibility. Built in Rust

430 B
Raw Blame
<!DOCTYPE html>
<title>Test Worker.terminate() for a worker that tries to run forever.</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script>
test((t) => {
  var worker = new Worker('support/Worker-run-forever.js');
  worker.terminate();
  t.step_timeout(function() { t.done(); }, 500);
}, 'Tests terminating a worker that is trying to run forever.');
</script>