[Webkit-unassigned] [Bug 208190] Use SI Units (based on 1000, not 1024) for file sizes, per HIG

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Nov 9 23:48:57 PST 2020


https://bugs.webkit.org/show_bug.cgi?id=208190

--- Comment #10 from Mathias Bynens <mathias at qiwi.be> ---
(In reply to Brian Burg from comment #9)
> (In reply to Mathias Bynens from comment #5)
> > Chrome DevTools now consistently uses 1000-based units with the proper SI
> > labels, matching the Apple HIG:
> > https://bugs.chromium.org/p/chromium/issues/detail?id=1035309
> > 
> > It would be great if the Web Inspector did the same, especially given
> > comment #3.
> 
> Somehow, I don't think that section of the HIG was written for developer
> tools that need to examine network traffic. In fact, the section you linked
> is specifically about Finder, which is consumer facing.

The relevant text is:

> Provide values that are consistent with values reported by the Finder and
> utilities like Activity Monitor. It’s confusing when an app and the system
> report different values for the same measurement.

This is unambiguously not just about Finder. It says all apps must match how Finder reports file sizes. The HIG is clear and precise in this regard, and doesn’t include any exceptions or special cases for developer-facing apps.

> This change makes Web Inspector report values different from many other
> developer tools which report bits in sizes based on powers of two.

Which examples are you thinking of? Note that when we looked into this (https://goo.gle/devtools-si), Firefox DevTools were on board with making the change. We’ve already made the change in Chrome DevTools.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20201110/cde1675b/attachment-0001.htm>


More information about the webkit-unassigned mailing list