code wiki / (root) / nx_html_extract_imgs_test.nx

nx_html_extract_imgs_test.nx

buildroot/runtime/nx_html_extract_imgs_test.nx

4467 B94 linesdepth 4pulls 7 transitivereach 0 importersview sourcekind gate/prooftopic html
docsdependenciesstructsconstsfunctions

about

nx_html_extract_imgs_test.nx -- exercise nx_html_extract_imgs against a synthetic HTML document containing: - mixed absolute / scheme-relative / path-relative img URLs - <script> body containing literal "<img src='trap.png'>" that must NOT be extracted (proves Arc B1 raw-text mode integration) - case-variant <IMG> tag name expect_exit: 0 license_tier: ORIGINAL

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_html_extract_imgs.nx nx_html_extract_imgs_test.nx

imports: nx_syscalls.nxnx_html_extract_imgs.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main sys_mmap nxa_die sys_write sys_exit nxa_lock_take nxa_lock_addr sys_write ↻ nxa_lock_give nxa_lock_addr ↻ nxa_report_overrun sys_write ↻ nxa_dump_printable sys_write ↻ nxa_dump_sizes sys_write ↻ nx_html_extract_imgs sys_mmap ↻ nx_html_cursor_init nx_html_next_token _scan_name _is_name _is_void_element _lc nx_html_is_raw_text_tag _lc ↻ nx_html_consume_raw_text _lc ↻ _is_ws _img_name_eq_img nx_dom_find_attr _dq_strlen _dq_find_substr_ci _dq_byte_eq_ci _dq_lc nx_url_canon uc_numeric_cp uc_named_cp uc_ent_eq uc_emit_cp

structs

none

consts

none

functions

14func _fail(n: i64) -> i64
called by 1: main calls 2: sys_mmapsys_write
34func _bytes_eq_lit(buf: *u8, off: i64, n: i64, lit: *u8) -> i64
called by 1: main
44func main() -> i64