about summary refs log tree commit diff stats
path: root/src/bindings
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2023-09-19 15:33:10 +0200
committerbptato <nincsnevem662@gmail.com>2023-09-19 15:34:29 +0200
commitbb2d3724848d6ac5a34308a4bbaca050aac0e6c5 (patch)
tree3d74853dced7436cb127bb59322f1b7ff0458b14 /src/bindings
parent01d0756d5b01d8302748ff97fe6513c2b98049bb (diff)
downloadchawan-bb2d3724848d6ac5a34308a4bbaca050aac0e6c5.tar.gz
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.
Diffstat (limited to 'src/bindings')
-rw-r--r--src/bindings/quickjs.nim1
1 files changed, 1 insertions, 0 deletions
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