1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00
Commit Graph

6925 Commits

Author SHA1 Message Date
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
Witold Filipczyk
89dde0e0b6 [spidermonkey] own implementation of nodeList for querySelectorAll 2024-06-24 17:11:03 +02:00
Witold Filipczyk
5329a84cb5 [ecmascript] Call dom_html_element_get_class_name 2024-06-23 20:36:20 +02:00
Witold Filipczyk
f90f52f5b4 [mujs] simpler element.contains
Go up, not down.
2024-06-23 14:41:51 +02:00
Witold Filipczyk
939bbc66d5 [spidermonkey] simpler element.contains 2024-06-23 14:37:17 +02:00
Witold Filipczyk
49d769e34a [quickjs] Simpler element.contains 2024-06-23 14:31:55 +02:00
Witold Filipczyk
e89dcea08c [mujs] element.contains fix 2024-06-22 21:31:32 +02:00
Witold Filipczyk
c09aadc239 [spidermonkey] element contains itself 2024-06-22 21:29:04 +02:00
Witold Filipczyk
ca4e1451ca [quickjs] element.contains(element) is true 2024-06-22 21:25:33 +02:00
Witold Filipczyk
ac6d22fe38 [mujs] element.textContent getter and setter 2024-06-22 15:13:16 +02:00
Witold Filipczyk
b8dd815e10 [quickjs] Check undefined in xhr.open
And null in statusText getter.
2024-06-22 14:57:18 +02:00
Witold Filipczyk
66dcf19139 [spidermonkey] Check for undefined in xhr.open 2024-06-22 14:40:59 +02:00