1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-10-01 03:36:26 -04:00

[quickjs] document.write does not work

This commit is contained in:
Witold Filipczyk 2023-04-04 17:31:48 +02:00
parent 3720694d0d
commit 92850a2aa4

View File

@ -338,6 +338,8 @@ check_for_rerender(struct ecmascript_interpreter *interpreter, const char* text)
foreach(item, interpreter->writecode) {
if (item->string.length) {
// TODO
#if 0
std::map<int, xmlpp::Element *> *mapa = (std::map<int, xmlpp::Element *> *)document->element_map;
if (mapa) {
@ -370,11 +372,14 @@ check_for_rerender(struct ecmascript_interpreter *interpreter, const char* text)
xmlpp::Node::remove_node(el);
} else {
fromstart:
#endif
add_fragment(cached, 0, item->string.source, item->string.length);
document->ecmascript_counter++;
break;
#if 0
}
}
#endif
}
}
}