Matches OCaml run_tests.ml which binds these as NativeFn returning "foo"/"42" directly. hs-win-call looks up window globals; registering them synchronously lets put/set tests exercise function-call + put without requiring real Promise awaiting. Fixes "waits on promises" +1. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>