1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -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->node = doc;
doc_private->ref_count = 1; doc_private->ref_count = 1;
//doc_private->thisval = js_ref(J); //doc_private->thisval = js_ref(J);
if (doc) { // if (doc) {
#ifdef ECMASCRIPT_DEBUG //#ifdef ECMASCRIPT_DEBUG
fprintf(stderr, "Before: %s:%d\n", __FUNCTION__, __LINE__); //fprintf(stderr, "Before: %s:%d\n", __FUNCTION__, __LINE__);
#endif //#endif
dom_node_ref((dom_node *)doc); // dom_node_ref((dom_node *)doc);
} // }
} }