Skip to content

armgit / moli

Public Imported from GitHub
0

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

225 B
Raw Blame
// META: title=FormData: constructor

test(() => {
  assert_throws_js(TypeError, () => { new FormData(null); });
  assert_throws_js(TypeError, () => { new FormData("string"); });
}, "Constructors should throw a type error");