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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 25 04:16:27 PST 2020


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

            Bug ID: 208190
           Summary: Use SI Units (based on 1000, not 1024) for file sizes,
                    per HIG
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Inspector
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mathias at qiwi.be
                CC: inspector-bugzilla-changes at group.apple.com

https://developer.apple.com/design/human-interface-guidelines/macos/system-capabilities/finder/ says:

"Report disk usage and file sizes accurately and consistently. 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."

Yet, Safari DevTools currently uses "1 KB" to mean 1024 bytes. This can easily be tested by creating a 1024-byte file as follows:

    python -c 'print("x"*1024)' > foo.txt

Then loading that over HTTP and using the Network panel to inspect its size.

-- 
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/20200225/288ee62e/attachment.htm>


More information about the webkit-unassigned mailing list