From e82107a29611f9d77a8699bac625df4524563137 Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Sun, 9 Jun 2019 15:59:05 +0100 Subject: Window.bnd: Suppress some unnecessary stack frame dumps Signed-off-by: Daniel Silverstone --- content/handlers/javascript/duktape/Window.bnd | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'content/handlers/javascript') diff --git a/content/handlers/javascript/duktape/Window.bnd b/content/handlers/javascript/duktape/Window.bnd index db588c09c..39c58c41d 100644 --- a/content/handlers/javascript/duktape/Window.bnd +++ b/content/handlers/javascript/duktape/Window.bnd @@ -63,7 +63,7 @@ static void window_call_callback(duk_context *ctx, size_t handle, bool clear_ent /* ..., win, cbt, handle */ duk_get_prop(ctx, -2); /* ..., win, cbt, cbo */ - dukky_log_stack_frame(ctx, "On entry to callback"); + //dukky_log_stack_frame(ctx, "On entry to callback"); /* ..., win, cbt, cbo */ /* What we want to do is call cbo.func passing all of cbo.args */ duk_get_prop_string(ctx, -1, "func"); @@ -77,7 +77,7 @@ static void window_call_callback(duk_context *ctx, size_t handle, bool clear_ent /* ..., win, cbt, cbo, func, argarr, args... */ duk_remove(ctx, -(arrlen+1)); /* ..., win, cbt, cbo, func, args... */ - dukky_log_stack_frame(ctx, "Just before call"); + //dukky_log_stack_frame(ctx, "Just before call"); (void) dukky_pcall(ctx, arrlen, true); /* ..., win, cbt, cbo, retval */ if (clear_entry) { @@ -93,7 +93,7 @@ static void window_call_callback(duk_context *ctx, size_t handle, bool clear_ent duk_pop_n(ctx, 4); } /* ... */ - dukky_log_stack_frame(ctx, "On leaving callback"); + //dukky_log_stack_frame(ctx, "On leaving callback"); } static void window_schedule_callback(void *p) { -- cgit v1.2.3