Skip to content

Only the first console.log() argument is passed to OnConsoleMessage(). #324

@GoogleCodeExporter

Description

@GoogleCodeExporter
What steps will reproduce the problem?
1. Type "javascript:console.log('one','two','three');" without quotes in the 
cefclient address bar and hit enter.
2. Only the first argument will be passed to OnConsoleMessage().

What is the expected output? What do you see instead?
All arguments should be passed to OnConsoleMessage().

Please use labels and text to provide additional information.
WebKit intentionally passes only the first argument to 
ChromeClient::addMessageToConsole() in Console::addMessage(). Need to have a 
discussion with the WebKit devs to see if this is something they would be 
willing to change.

Original issue reported on code.google.com by magreenb...@gmail.com on 1 Sep 2011 at 5:26

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions