<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Web Inspector: Dashboard log message count doesn't include console.time messages"
href="https://bugs.webkit.org/show_bug.cgi?id=151280#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Web Inspector: Dashboard log message count doesn't include console.time messages"
href="https://bugs.webkit.org/show_bug.cgi?id=151280">bug 151280</a>
from <span class="vcard"><a class="email" href="mailto:mattbaker@apple.com" title="Matt Baker <mattbaker@apple.com>"> <span class="fn">Matt Baker</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=151280#c2">comment #2</a>)
<span class="quote">> The problem is in `_incrementConsoleMessageType` in
> `Source/WebInspectorUI/UserInterface/Models/DefaultDashboard.js`, where it
> only increments log/issue/error-count if the ConsoleMessage has the levels
> log, warning, or error respectively.
> As there also exists MessageLevels info and debug, those are not included in
> the log-count.</span >
The Chrome console API reference states that console.info and console.debug are identical to console.log, so it works for me!
<span class="quote">> Adding two fallthrough cases for info and debug to also increment the
> log-count would solve the problem.
> This would make `console.timeEnd()`, `console.debug()`, and `console.info()`
> increment the log-count in the dashboard.
>
> If that sounds like an okay solution, I’d like to submit a patch.</span >
Sounds good.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>