[gitg] Write webkit console to stdout in debug mode



commit 852d3c59c7f4f35ed07f6312a31b1193a2ee4a56
Author: Jesse van den Kieboom <jessevdk gmail com>
Date:   Sat Dec 28 15:46:31 2013 +0100

    Write webkit console to stdout in debug mode

 libgitg/gitg-diff-view.vala |    1 +
 vapi/webkit2gtk-3.0.vapi    |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/libgitg/gitg-diff-view.vala b/libgitg/gitg-diff-view.vala
index 1db62c2..f08aace 100644
--- a/libgitg/gitg-diff-view.vala
+++ b/libgitg/gitg-diff-view.vala
@@ -238,6 +238,7 @@ namespace Gitg
                        if (dbg)
                        {
                                settings.enable_developer_extras = true;
+                               settings.enable_write_console_messages_to_stdout = true;
                        }
 
                        settings.javascript_can_access_clipboard = true;
diff --git a/vapi/webkit2gtk-3.0.vapi b/vapi/webkit2gtk-3.0.vapi
index d2a0b57..90b9ce0 100644
--- a/vapi/webkit2gtk-3.0.vapi
+++ b/vapi/webkit2gtk-3.0.vapi
@@ -366,6 +366,7 @@ namespace WebKit {
                public bool enable_tabs_to_links { get; set construct; }
                public bool enable_webaudio { get; set construct; }
                public bool enable_webgl { get; set construct; }
+               public bool enable_write_console_messages_to_stdout { get; set construct; }
                public bool enable_xss_auditor { get; set construct; }
                public string fantasy_font_family { get; set construct; }
                public bool javascript_can_access_clipboard { get; set construct; }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]