Skip to content

armgit / moli

Public Imported from GitHub
0

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

434 B
Raw Blame
<!doctype html>
<title>onconnect</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id="log"></div>
<script>
async_test(function() {
  var w1 = new SharedWorker('onconnect.js', '');
  w1.port.addEventListener('message', this.step_func_done(function(e) {
    assert_array_equals(e.data, ['null', true, 'function', '']);
  }), false);
  w1.port.start();
});
</script>