Otherwise, console.log being executed before frontend has started causes operation on uninitialized ScriptObject.
Created attachment 34823 [details]
This patch moves stack processing back to the ConsoleMessage and introduces dependency from InspectorFrontend to the InspectorController for object wrapping.
It actually reverts ConsoleMessage.* to where they were before the DOMAgent-related change.
Committing to http://svn.webkit.org/repository/webkit/trunk ...