Bug 31860

Summary: Console.log() calls with multiple arguments are not passed to ChromeClient::addMessageToConsole
Product: WebKit Reporter: Simon Hausmann <hausmann>
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: gopal.1.raghavan, kent.hansen
Priority: P2 Keywords: Qt, QtTriaged
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   

Description Simon Hausmann 2009-11-25 00:39:38 PST
The code in Console.cpp's addMessage() overload that operates on a ScriptCallStack suggests that console message like

    console.log("x equals", x, "right now")

is only passed to the web inspector and the stdout.

I think it should be passed to the ChromeClient, too, to allow embedding applications to fully catch the output of the Console API.
Comment 1 Gopal Raghavan 2010-11-04 13:04:55 PDT
Simon,
I have provided a fix to this issue. See bug 26083.
BR,
--
Gopal
Comment 2 Simon Hausmann 2011-12-04 21:55:27 PST

*** This bug has been marked as a duplicate of bug 26083 ***