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 | ||
Simon Hausmann
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.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Gopal Raghavan
Simon,
I have provided a fix to this issue. See bug 26083.
BR,
--
Gopal
Simon Hausmann
*** This bug has been marked as a duplicate of bug 26083 ***