From bb2d3724848d6ac5a34308a4bbaca050aac0e6c5 Mon Sep 17 00:00:00 2001 From: bptato Date: Tue, 19 Sep 2023 15:33:10 +0200 Subject: dom: add document.all, misc fixes * Fix an issue with Collection cache invalidation (we must invalidate collections of the parent node on insertion, so that it triggers a refresh). * Remove circular reference of document.document, now we use a function instead. --- src/bindings/quickjs.nim | 1 + 1 file changed, 1 insertion(+) (limited to 'src/bindings') diff --git a/src/bindings/quickjs.nim b/src/bindings/quickjs.nim index 7169c480..17bac15a 100644 --- a/src/bindings/quickjs.nim +++ b/src/bindings/quickjs.nim @@ -424,6 +424,7 @@ proc JS_FreeCString*(ctx: JSContext, `ptr`: cstring) proc JS_Eval*(ctx: JSContext, input: cstring, input_len: cint, filename: cstring, eval_flags: cint): JSValue proc JS_SetInterruptHandler*(rt: JSRuntime, cb: JSInterruptHandler, opaque: pointer) proc JS_SetCanBlock*(rt: JSRuntime, can_block: JS_BOOL) +proc JS_SetIsHTMLDDA*(ctx: JSContext, obj: JSValue) proc JS_IsNumber*(v: JSValue): JS_BOOL proc JS_IsBigInt*(v: JSValue): JS_BOOL -- cgit 1.4.1-2-gfad0