code wiki / _hdl_build / nx_dcl_test.nx

nx_dcl_test.nx

buildroot/runtime/_hdl_build/nx_dcl_test.nx

1859 B28 linesdepth 7pulls 22 transitivereach 0 importersview sourcekind gate/proof
docsdependenciesstructsconstsfunctions

about

nx_dcl_test.nx -- diagnose the async player-init lifecycle. Runs page JS in DOM_TREE mode (via js_render_page_pending_begin) and dumps EVERY pending fetch URL, revealing: rs-<v>.m3u8 -> document.readyState is <v> (jQuery fires $(ready) SYNC iff 'complete'/'interactive') dcl.m3u8 -> a document 'DOMContentLoaded' listener FIRED during the initial parse+drain onload.m3u8 -> window.onload FIRED sync.m3u8 -> a plain top-level fetch fired (sanity: the script ran at all) If only sync.m3u8 + rs-loading/undefined appear (no dcl/onload), async init never runs -> we must dispatch it.

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_js_eval.nx nx_dcl_test.nx

imports: nx_syscalls.nxnx_js_eval.nx

imported by: nobody (leaf or entry point)

structs

none

consts

none

functions

11func cw(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 }
calls 1: sys_write
12func tslen(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} return n }
14func main() -> i64