Web Inspector: refine time and bytes output formatting
https://bugs.webkit.org/show_bug.cgi?id=102265

Patch by Alexei Filippov <alph@chromium.org> on 2012-11-19
Reviewed by Yury Semikhatsky.

Add a space between number and unit, otherwise it's hard to read things like 88B.
Reduce a number of decimal digits in KB and MB formats. 1023.45KB seems to be too detailed.

Source/WebCore:

* English.lproj/localizedStrings.js:
* inspector/front-end/CookiesTable.js:
(WebInspector.CookiesTable.prototype._createGridNode):
* inspector/front-end/UIUtils.js:
(Number.secondsToString):
(Number.bytesToString):

LayoutTests:

* inspector/audits/audits-panel-functional-expected.txt:
* inspector/audits/audits-panel-noimages-functional-expected.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@135128 268f45cc-cd09-0410-ab3c-d52691b4dbfc
7 files changed