Some checks failed
Test, Build, and Deploy / test-build-deploy (push) Failing after 49s
Manual test bodies for symbol-as-receiver method calls: - T9 'can invoke function on object': use host-call _obj method args directly — eval-hs path fails because (ref "name") emits bare symbol, not window lookup, so receivers like 'hsTestObj' aren't resolvable in the SX env when only set via window.X assignment. - F2 'can invoke function on object w/ async arg': hs-win-call already unwraps Promise.resolve() synchronously, so promiseAnIntIn(10)→42. - F3 'can invoke function on object w/ async root & arg': method returns Promise — unwrap result via host-promise-state. Runtime additions: - lib/hyperscript/runtime.sx hs-fetch-impl: add 'html' case calling io-parse-html (mock builds DocumentFragment with childElementCount). Fixes F9 'can do a simple fetch w/ html'. - Restore _hs-config-log-all + hs-set-log-all! / hs-get-log-captured / hs-clear-log-captured! / hs-log-event! that tests depend on. Test harness: - Slow deadlines for tests that JIT-compile complex closures cold: loop continue, where clause, swap a/b/array, string templates, view transition def, expressions/in suite, can add a value to a set. - Bump runtimeErrors suite deadline 30s→60s. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
94 KiB
94 KiB