[SCM] WebKit Debian packaging branch, webkit-1.2, updated. upstream/1.1.90-6072-g9a69373

kov at webkit.org kov at webkit.org
Wed Apr 7 23:30:36 UTC 2010


The following commit has been merged in the webkit-1.2 branch:
commit 974269ae8d84f1e843a8576be0a392766d606262
Author: kov at webkit.org <kov at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Wed Nov 11 12:44:02 2009 +0000

    Reviewed by Holger Freyther.
    
    Should not print javascript console messages to stdout
    https://bugs.webkit.org/show_bug.cgi?id=31346
    
    * webkit/webkitwebview.cpp:
    (webkit_web_view_real_console_message): Print console messages to
    stderr instead, using the recommended method (a g_log variant).
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@50799 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebKit/gtk/ChangeLog b/WebKit/gtk/ChangeLog
index 1a70636..791c342 100644
--- a/WebKit/gtk/ChangeLog
+++ b/WebKit/gtk/ChangeLog
@@ -1,3 +1,14 @@
+2009-11-11  Gustavo Noronha Silva  <gustavo.noronha at collabora.co.uk>
+
+        Reviewed by Holger Freyther.
+
+        Should not print javascript console messages to stdout
+        https://bugs.webkit.org/show_bug.cgi?id=31346
+
+        * webkit/webkitwebview.cpp:
+        (webkit_web_view_real_console_message): Print console messages to
+        stderr instead, using the recommended method (a g_log variant).
+
 2009-11-11  Philippe Normand  <pnormand at igalia.com>
 
         Reviewed by Xan Lopez.
diff --git a/WebKit/gtk/webkit/webkitwebview.cpp b/WebKit/gtk/webkit/webkitwebview.cpp
index 0091c7b..b8048e3 100644
--- a/WebKit/gtk/webkit/webkitwebview.cpp
+++ b/WebKit/gtk/webkit/webkitwebview.cpp
@@ -867,7 +867,7 @@ static gboolean webkit_web_view_real_script_prompt(WebKitWebView* webView, WebKi
 
 static gboolean webkit_web_view_real_console_message(WebKitWebView* webView, const gchar* message, unsigned int line, const gchar* sourceId)
 {
-    g_print("console message: %s @%d: %s\n", sourceId, line, message);
+    g_message("console message: %s @%d: %s\n", sourceId, line, message);
     return TRUE;
 }
 

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list