Web Inspector: console.debug/info should show up in Log Console Filter
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 6 Mar 2015 00:44:38 +0000 (00:44 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 6 Mar 2015 00:44:38 +0000 (00:44 +0000)
https://bugs.webkit.org/show_bug.cgi?id=142300

Patch by Tobias Reiss <tobi+webkit@basecode.de> on 2015-03-05
Reviewed by Joseph Pecoraro.

Add WebInspector.ConsoleMessage.MessageLevel.Debug case that allows console.debug/info
to show up in Log Console Filter.

* UserInterface/Views/LogContentView.js:
(WebInspector.LogContentView.prototype._filterMessages):

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

Source/WebInspectorUI/ChangeLog
Source/WebInspectorUI/UserInterface/Views/LogContentView.js

index 76ec679..b526dbd 100644 (file)
@@ -1,3 +1,16 @@
+2015-03-05  Tobias Reiss  <tobi+webkit@basecode.de>
+
+        Web Inspector: console.debug/info should show up in Log Console Filter
+        https://bugs.webkit.org/show_bug.cgi?id=142300
+
+        Reviewed by Joseph Pecoraro.
+
+        Add WebInspector.ConsoleMessage.MessageLevel.Debug case that allows console.debug/info
+        to show up in Log Console Filter.
+
+        * UserInterface/Views/LogContentView.js:
+        (WebInspector.LogContentView.prototype._filterMessages):
+
 2015-03-05  Joseph Pecoraro  <pecoraro@apple.com>
 
         Web Inspector: Add ObjectTreeBaseTreeElement to share functionality
 2015-03-05  Joseph Pecoraro  <pecoraro@apple.com>
 
         Web Inspector: Add ObjectTreeBaseTreeElement to share functionality
index aeb923c..366cd8b 100644 (file)
@@ -673,6 +673,7 @@ WebInspector.LogContentView.prototype = {
                         visible = showsErrors;
                         break;
                     case WebInspector.ConsoleMessage.MessageLevel.Log:
                         visible = showsErrors;
                         break;
                     case WebInspector.ConsoleMessage.MessageLevel.Log:
+                    case WebInspector.ConsoleMessage.MessageLevel.Debug:
                         visible = showsLogs;
                         break;
                 }
                         visible = showsLogs;
                         break;
                 }