Witold Filipczyk
ef06daa504
[mujs] casts
2024-08-09 15:28:07 +02:00
Witold Filipczyk
9921589785
[quickjs] Casts to avoid warnings
2024-08-09 15:24:44 +02:00
Witold Filipczyk
5e73db98bf
[quickjs] More debug statements
2024-08-08 17:48:59 +02:00
Witold Filipczyk
be7cd62625
[mujs] More debug statements
2024-08-08 17:40:58 +02:00
Witold Filipczyk
bb172ed9fe
[mujs] More nodelist_unref
2024-08-07 18:37:19 +02:00
Witold Filipczyk
32471eb951
[mujs] Free nodelist in element.getElementsByTagName
2024-08-07 18:29:33 +02:00
Witold Filipczyk
f89a87882a
[mujs] Free nodelist in getElementsByTagName
2024-08-07 18:23:47 +02:00
Witold Filipczyk
157f90d1cc
[quickjs] commented ref|unref
2024-08-07 17:47:35 +02:00
Witold Filipczyk
c7b3713235
[ecmascript] Debug before free context
2024-08-07 17:31:03 +02:00
Witold Filipczyk
159eda99c0
[ecmascript] Some debug statements in mujs and quickjs
...
mujs and quickjs have different order of executing finalizers,
so differences in (not) releasing memory.
2024-08-07 16:31:27 +02:00
Witold Filipczyk
f8c842ac70
[mujs] dom_node_unref in doctype finalizer
2024-08-06 18:18:17 +02:00
Witold Filipczyk
299a8fd5a3
[ecmascript] Swapped order of parameters for camel_to_html
...
The result string as the last parameter not the first one.
2024-08-06 16:58:53 +02:00
Witold Filipczyk
b5e85bc15c
[mujs] collection2.c for getElementsByClassName
2024-08-05 21:05:04 +02:00
Witold Filipczyk
ff81eaa220
[mujs] More dom_node_unref after mjs_push_element.
...
Similar cases to quickjs.
2024-08-04 20:02:29 +02:00
Witold Filipczyk
432edc6f65
[mujs] free html_collection in collections's finalizer
2024-08-04 17:24:20 +02:00
Witold Filipczyk
1ed5cf1d86
[mujs] Free attr_name
2024-08-04 08:50:09 +02:00
Witold Filipczyk
999a2c6de7
[spideronkey] Free attr_name
2024-08-03 19:37:25 +02:00
Witold Filipczyk
e050734266
[quickjs] dom_node_unref after getElement
2024-08-03 19:29:33 +02:00
Witold Filipczyk
9d2a83b09c
[ecmascript] initialise with NULL
2024-08-03 19:28:37 +02:00
Witold Filipczyk
0b671d69f7
[spidermonkey] getElement(...) followed by dom_node_unref
2024-08-03 19:27:18 +02:00
Witold Filipczyk
ae82d42318
[quickjs] element.appendChild and cloneNode
2024-07-24 21:02:16 +02:00
Witold Filipczyk
c4fe2c04ca
[quickjs] Fix in createElement
2024-07-24 20:51:19 +02:00
Witold Filipczyk
ff28219a94
[quickjs] documentElement
2024-07-24 20:48:11 +02:00
Witold Filipczyk
9329b66b28
[quickjs] document.body.id
2024-07-24 20:45:49 +02:00
Witold Filipczyk
f356c05dcc
[quikcjs] firstElementChild
2024-07-24 20:42:25 +02:00
Witold Filipczyk
e6bf26fa31
[quickjs] lastChild, nextSibling
2024-07-24 20:37:36 +02:00
Witold Filipczyk
eba47a3352
[quickjs] element.firstChild
2024-07-24 20:31:18 +02:00
Witold Filipczyk
1570955137
[quickjs] parentNode, parentElement .html
...
They pass test with --leak-check=full
2024-07-24 20:26:13 +02:00
Witold Filipczyk
7872617317
[quikcjs] previousElementSibling.html
2024-07-24 20:23:06 +02:00
Witold Filipczyk
daa753e98a
[quickjs] element.previousSibling
2024-07-24 20:18:47 +02:00
Witold Filipczyk
c01339fee9
[quickjs] domparser.html passed test
2024-07-24 20:13:13 +02:00
Witold Filipczyk
4dc436e26d
[quickjs] Free response_text in xhr.c finalizer
2024-07-24 18:40:58 +02:00
Witold Filipczyk
2fd55215a7
[quickjs] Commented out dom_node_ref
...
dom_node_ref should be added in places where is JS_SetOpaque.
2024-07-24 17:51:23 +02:00
Witold Filipczyk
80dfbd8b8e
[ecmascript] Removed unused parameter from walk_tree_query_append
2024-07-23 20:48:27 +02:00
Witold Filipczyk
52de1a682c
[quickjs] dom_node_ref for nodelist2
2024-07-23 20:42:11 +02:00
Witold Filipczyk
c52510fd9f
[nodelist2] Free nodelist after generating values.
2024-07-23 19:01:50 +02:00
Witold Filipczyk
68a7a26418
[quickjs] Copy of collection.c as collection2.c
...
They differ in finalizer. collection2 is for getElementsByClassName
2024-07-22 22:01:40 +02:00
Witold Filipczyk
3609f6c90c
[quickjs] memleak in getAttributeNode
2024-07-22 19:07:18 +02:00
Witold Filipczyk
7149746eb1
[quickjs] Workaround for memory leak in anchors
...
Check if refcnt is positive before unref node in element_finalizer.
refcnt was -1. Likely it is a bug in elinks code, but it is hard to locate it.
Also commented out ref|unref in element and document.
Collection code also changed. Array is not prototype for collection object.
2024-07-22 18:38:17 +02:00
Witold Filipczyk
95f45b7327
[quickjs] memleaks
2024-07-19 21:01:58 +02:00
Witold Filipczyk
83b3185e11
[quickjs] Memleak in doctype
2024-07-18 21:40:55 +02:00
Witold Filipczyk
8797227b19
[quickjs] unref attrs in finalizer
2024-07-18 19:41:28 +02:00
Witold Filipczyk
f91d9b3d06
[dom] dom_namednodemap_unref(attrs) not dom_node_unref(attrs)
2024-07-18 19:33:24 +02:00
Witold Filipczyk
fb30e10f91
[quickjs] Some memleaks
2024-07-17 21:41:24 +02:00
Witold Filipczyk
a2609542e6
[mujs] Free uristring in finalizer
2024-07-16 21:46:15 +02:00
Witold Filipczyk
656d8a32ea
[spidermonkey] Leak in URL
2024-07-16 21:39:04 +02:00
Witold Filipczyk
ecf1b56c5f
[quickjs] Free uri string
2024-07-16 21:31:46 +02:00
Witold Filipczyk
856d656d66
[spidermonkey] Free function
2024-07-16 20:16:14 +02:00
Witold Filipczyk
2988237889
[libdom] Dups
2024-07-16 19:47:27 +02:00
Witold Filipczyk
e7f2d6d908
[tests] 5 seconds was too little
2024-07-16 16:22:34 +02:00