<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: console.count() shouldn't show a colon in front of a number"
href="https://bugs.webkit.org/show_bug.cgi?id=152038#c14">Comment # 14</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Web Inspector: console.count() shouldn't show a colon in front of a number"
href="https://bugs.webkit.org/show_bug.cgi?id=152038">bug 152038</a>
from <span class="vcard"><a class="email" href="mailto:bburg@apple.com" title="Brian Burg <bburg@apple.com>"> <span class="fn">Brian Burg</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=152038#c13">comment #13</a>)
<span class="quote">> Both Firefox and Chrome has `console.count()` and `console.count('')` be
> equivalent (i.e. the count would be 2 after running those commands), while
> any additional whitespace to the title-parameter would create new counters.
> Firefox also writes "<no label>: x" for counters without a title or with the
> empty title (but not for whitespace).
> Should WebKit also show "<no label>: x" for those two cases? (And if so,
> should it be localized? And how would I do that?) Or should it just show "x"?</span >
Yes, let's match what they do. I think it looks kind of dumb (do you have a better idea?) but showing nothing is even worse.
Don't worry about localizing this; none of the console messages are currently localized. They should be localized, but that should be addressed in a separate bug.</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>