From 62cf824fc60cfafcefddfc4c7f8c3fe0f8dea5a6 Mon Sep 17 00:00:00 2001 From: Witold Filipczyk Date: Fri, 9 Aug 2024 15:33:14 +0200 Subject: [PATCH] [mujs] Commented out code to be consistent with quickjs domparser.html passes --- src/ecmascript/mujs/document.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/ecmascript/mujs/document.c b/src/ecmascript/mujs/document.c index 5ef134bf..f9bfe1d7 100644 --- a/src/ecmascript/mujs/document.c +++ b/src/ecmascript/mujs/document.c @@ -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); +// } }