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

[mujs] Commented out code to be consistent with quickjs

domparser.html passes
This commit is contained in:
Witold Filipczyk 2024-08-09 15:33:14 +02:00
parent ef06daa504
commit 62cf824fc6

View File

@ -1796,12 +1796,12 @@ mjs_push_document2(js_State *J, void *doc)
doc_private->node = doc;
doc_private->ref_count = 1;
//doc_private->thisval = js_ref(J);
if (doc) {
#ifdef ECMASCRIPT_DEBUG
fprintf(stderr, "Before: %s:%d\n", __FUNCTION__, __LINE__);
#endif
dom_node_ref((dom_node *)doc);
}
// if (doc) {
//#ifdef ECMASCRIPT_DEBUG
//fprintf(stderr, "Before: %s:%d\n", __FUNCTION__, __LINE__);
//#endif
// dom_node_ref((dom_node *)doc);
// }
}