Web Inspector: Make it obvious where command line functions come from
https://bugs.webkit.org/show_bug.cgi?id=62367

Reviewed by Pavel Feldman.

Source/WebCore:

This patch adds a custom .toString() method on the various command-line
API methods that are bound in the inspector. Rather than dumping the
function text, we now model the response after that of native methods:
"function __() { [Command Line API] }".

Test: inspector/console/console-native-function-to-string.html

* inspector/InjectedScriptSource.js:
    Added a function to the CommandLineAPI constructor that creates a
    custom toString() method for each command-line API method.

LayoutTests:

* inspector/console/console-native-function-to-string-expected.txt: Added.
* inspector/console/console-native-function-to-string.html: Added.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@144288 268f45cc-cd09-0410-ab3c-d52691b4dbfc