diff options
-rw-r--r-- | content/handlers/javascript/duktape/Document.bnd | 4 | ||||
-rw-r--r-- | content/handlers/javascript/duktape/Window.bnd | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/content/handlers/javascript/duktape/Document.bnd b/content/handlers/javascript/duktape/Document.bnd index 5de724538..f94a4e43c 100644 --- a/content/handlers/javascript/duktape/Document.bnd +++ b/content/handlers/javascript/duktape/Document.bnd @@ -35,7 +35,7 @@ method Document::write() } duk_concat(ctx, duk_get_top(ctx)); text = duk_safe_to_lstring(ctx, 0, &text_len); - JS_LOG("Writing %*s", (int)text_len, text); + NSLOG(netsurf, DEBUG, "Writing %*s", (int)text_len, text); err = dom_node_get_user_data(priv->parent.node, corestring_dom___ns_key_html_content_data, @@ -70,7 +70,7 @@ method Document::writeln() duk_concat(ctx, duk_get_top(ctx)); text = duk_safe_to_lstring(ctx, 0, &text_len); - JS_LOG("Writeln %*s", (int)text_len, text); + NSLOG(netsurf, DEBUG, "Writeln %*s", (int)text_len, text); err = dom_node_get_user_data(priv->parent.node, corestring_dom___ns_key_html_content_data, &htmlc); diff --git a/content/handlers/javascript/duktape/Window.bnd b/content/handlers/javascript/duktape/Window.bnd index 98ba39df8..bdabf1179 100644 --- a/content/handlers/javascript/duktape/Window.bnd +++ b/content/handlers/javascript/duktape/Window.bnd @@ -54,7 +54,7 @@ prototype Window() getter Window::document() %{ - JS_LOG("priv=%p", priv); + NSLOG(netsurf, DEBUG, "priv=%p", priv); dom_document *doc = priv->htmlc->document; dukky_push_node(ctx, (struct dom_node *)doc); return 1; |