[Webkit-unassigned] [Bug 14953] Implement window.console in WebCore

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Oct 27 12:53:19 PDT 2007


http://bugs.webkit.org/show_bug.cgi?id=14953





------- Comment #9 from timothy at hatcher.name  2007-10-27 12:53 PDT -------
If you make this change:

Index: page/Chrome.cpp
===================================================================
--- page/Chrome.cpp     (revision 27149)
+++ page/Chrome.cpp     (working copy)
@@ -197,7 +197,7 @@

 void Chrome::addMessageToConsole(MessageSource source, MessageLevel level,
const String& message, unsigned lineNumber, const String& sourceID)
 {
-    if (source == JSMessageSource && level == ErrorMessageLevel)
+    if (source == JSMessageSource)
         m_client->addMessageToConsole(message, lineNumber, sourceID);

     if (InspectorController* inspector = m_page->inspectorController())

Then you can pass all the correct message levels.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list