Skip to content

armgit / moli

Public Imported from GitHub
0

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

365 B
Raw Blame
// META: global=worker

test(function() {
  assert_equals(self, self);
}, 'self === self');

test(function() {
  assert_true(self instanceof WorkerGlobalScope);
}, 'self instanceof WorkerGlobalScope');

test(function() {
  assert_true('self' in self);
}, '\'self\' in self');

test(function() {
  var x = self;
  self = 1;
  assert_equals(self, x);
}, 'self = 1');