1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-11-04 08:17:17 -05:00
Commit Graph

6936 Commits

Author SHA1 Message Date
Witold Filipczyk
53da0cf2f6 [test] element.href.html 2024-07-07 14:43:38 +02:00
Witold Filipczyk
daf8b5e397 [quickjs] Prevent from trigger DOMContentLoaded many times 2024-07-07 14:25:50 +02:00
Witold Filipczyk
f5cb5f3ba3 [quickjs] Typos in copy-pasted code 2024-07-07 14:25:07 +02:00
Witold Filipczyk
b2b3b64c9a [quikcjs] Added gc_mark function for document 2024-07-07 13:28:38 +02:00
Witold Filipczyk
d27c3912fc [quickjs] timeout is int 2024-07-07 13:27:57 +02:00
Witold Filipczyk
e82cf83123 [quickjs] js_doc_getopaque nonstatic 2024-07-06 17:45:13 +02:00
Witold Filipczyk
64be2be5ee [mujs] element.href 2024-07-06 16:08:49 +02:00
Witold Filipczyk
b911a27746 [quickjs] element.href 2024-07-06 16:04:09 +02:00
Witold Filipczyk
07c59485f5 [spidermonkey] element.href getter and setter 2024-07-06 15:47:35 +02:00
Witold Filipczyk
87044f9499 [spidermonkey] "Rewrite" document->dom
There is a small progress. Some items are displayed in Python's docs
searching.
2024-07-06 15:24:50 +02:00
Witold Filipczyk
a6cb50e413 [mujs] element.remove() 2024-07-06 12:37:02 +02:00
Witold Filipczyk
e6c99cfc1a [quickjs] Fix in element.remove 2024-07-06 12:27:30 +02:00
Witold Filipczyk
e8523fc1bf [test] element.remove 2024-07-06 12:22:28 +02:00
Witold Filipczyk
2735f29b21 [mujs] Added mjs_push_document2
Difference is that this function does not add document to
global object, and does not set thisval.
2024-07-06 12:04:29 +02:00
Witold Filipczyk
6552a3df8a [quickjs] "Fixes" related to DOMParser 2024-07-06 11:43:14 +02:00
Witold Filipczyk
4cb9d10cb1 [test] Added domparser.html 2024-07-06 11:09:01 +02:00
Witold Filipczyk
815c8f684b [spidermonkey] Fixes in element.remove() 2024-07-06 10:26:57 +02:00
Witold Filipczyk
6e07af8e50 [spidermonkey] element.remove() 2024-07-06 09:38:05 +02:00
Witold Filipczyk
0f5340834f [mujs] DOMParser (not tested) 2024-07-06 09:18:40 +02:00
Witold Filipczyk
56c11ef07a [quickjs] DOMParser
Not tested.
2024-07-06 09:04:24 +02:00
Witold Filipczyk
7c249117f9 [spidermonkey] DOMParser
Not tested.
2024-07-06 08:44:07 +02:00
Witold Filipczyk
d10fe7d3c7 [ecmascript] Do not fire onload event, when in plain text mode 2024-07-05 16:33:17 +02:00
Witold Filipczyk
af11da3e1c [spidermonkey] dom_node_ref in initDocument and getDocument 2024-07-04 20:02:50 +02:00
Witold Filipczyk
31e4eb240a [spidermonkey] polyfilled fetch
fetch.js code from https://github.com/JakeChampion/fetch
modified to pass test assertion.
Module import in spidermonkey based on examples.
2024-07-03 20:25:11 +02:00
Witold Filipczyk
55979c1551 [spidermonkey] fun dynamically allocated 2024-06-30 16:00:26 +02:00
Witold Filipczyk
298588ad18 [ecmascript] Moved list of timeouts to ecmascript_interpreter from document 2024-06-30 13:58:46 +02:00
Witold Filipczyk
348725ee3a [spidermonkey] Set result for setter and deletter 2024-06-29 10:16:51 +02:00
Witold Filipczyk
8d7ec1a81c [ecmascript] Added camel_to_html function
This function converts text from camelCase to dash-style
and prepends "data-" to string.
2024-06-29 09:42:48 +02:00
Witold Filipczyk
2eb2c2c3f0 [quickjs] No dataset.toString 2024-06-29 08:54:09 +02:00
Witold Filipczyk
e1ab592abf [mujs] element.dataset 2024-06-29 08:51:59 +02:00
Witold Filipczyk
26571aeac2 [quickjs] element.dataset 2024-06-28 20:57:01 +02:00
Witold Filipczyk
3756faf0eb [spidermonkey] Rewrite html after changes in dataset 2024-06-28 17:14:58 +02:00
Witold Filipczyk
795159f9bb [test] Added removeAttribute case to getAttribute test. 2024-06-28 17:08:38 +02:00
Witold Filipczyk
85d22c150c [mujs] element.removeAttribute 2024-06-28 17:02:41 +02:00
Witold Filipczyk
5c2f7350bf [quickjs] element.removeAttribute 2024-06-28 16:58:19 +02:00
Witold Filipczyk
d00a11ba59 [spidermonkey] element.removeAttribute 2024-06-28 16:52:55 +02:00
Witold Filipczyk
fe5d5bcf68 [spidermonkey] element.dataset (slow) 2024-06-28 16:42:11 +02:00
Witold Filipczyk
a7bf39e9a6 [test] test case for element.dataset 2024-06-28 14:14:24 +02:00
Witold Filipczyk
fbbba38b8a [mujs] element.classList getter 2024-06-27 17:54:30 +02:00
Witold Filipczyk
63e65bb4fc [quickjs] element.classList 2024-06-27 17:29:26 +02:00
Witold Filipczyk
7b3a5ea87b [spidermonkey] element.classList 2024-06-27 16:31:27 +02:00
Witold Filipczyk
8c40f0dbd4 [ecmascript] element.innerText setter calls element.textContent setter 2024-06-27 12:44:21 +02:00
Witold Filipczyk
0b4b09453f [mujs] document.getElementsByClassName 2024-06-25 18:32:29 +02:00
Witold Filipczyk
3daca597b5 [quickjs] document.getElementsByClassName
Need to free strings.
2024-06-25 18:25:52 +02:00
Witold Filipczyk
851c9c6f61 [spidermonkey] document.getElementsByClassName
Memory leaks will be addressed later.
2024-06-25 17:38:24 +02:00
Witold Filipczyk
63590b0e05 [dump] char * in place of struct string * 2024-06-25 12:58:29 +02:00
Witold Filipczyk
0f2f6beb05 [dump] print footer after finished dump, not after starting dump. Refs #314 2024-06-25 09:49:44 +02:00
Witold Filipczyk
8d778449a6 [ecmascript] Compare the first character of url with slash
It did not load '_static/something.json'.
2024-06-24 20:36:09 +02:00
Witold Filipczyk
9a68ae3596 [mujs] nodelist2 for querySelectorAll 2024-06-24 17:46:39 +02:00
Witold Filipczyk
68ff18eca4 [quickjs] nodelist2 for querySelectorAll 2024-06-24 17:22:13 +02:00