[Webkit-unassigned] [Bug 152038] Web Inspector: console.count() shouldn't show a colon in front of a number

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jan 11 10:28:06 PST 2016


--- Comment #14 from Brian Burg <bburg at apple.com> ---
(In reply to comment #13)
> 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"?

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.

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160111/9075ea23/attachment.html>

More information about the webkit-unassigned mailing list