Fix runtime PRIMITIVES for dom/browser library functions
dom.sx and browser.sx are library source (not transpiled into the bundle), so their functions need explicit PRIMITIVES registration for runtime-eval'd SX code (islands, data-init scripts). Restore registrations for all dom/ browser functions used at runtime. Revert bootstrap.py transpilation of dom-lib/browser-lib which overrode native platform implementations that have essential runtime integration (cekCall wrapping, post-render hooks). Add Playwright regression test for [object Object] nav link issue. Replace console-log calls with log-info in init-client.sx.txt. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -137,7 +137,7 @@ def compile_ref_to_js(
|
||||
("content.sx", "content (content-addressed computation)"),
|
||||
("render.sx", "render (core)"),
|
||||
]
|
||||
for name in ("parser", "html", "sx", "dom-lib", "browser-lib", "dom", "engine", "orchestration", "boot"):
|
||||
for name in ("parser", "html", "sx", "dom", "engine", "orchestration", "boot"):
|
||||
if name in adapter_set:
|
||||
sx_files.append(ADAPTER_FILES[name])
|
||||
# Use explicit ordering for spec modules (respects dependencies)
|
||||
|
||||
Reference in New Issue
Block a user