[Webkit-unassigned] [Bug 185719] New: Encoded downloads result in broken UI

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 17 03:20:05 PDT 2018


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

            Bug ID: 185719
           Summary: Encoded downloads result in broken UI
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: jaffathecake at gmail.com
                CC: bfulgham at webkit.org, simon.fraser at apple.com,
                    zalan at apple.com

I couldn't find the right component for this, sorry!

https://gzipped-download-test.glitch.me/

The above is a slow download (1k per second), but the resource is heavily gzipped (from 100mb to ~100k).

While downloading, the above displays "22mb of 102k", and causes the progress bar to overflow the UI.

This is "[bytes written] of [content-length]", but due to compression this doesn't make sense. Either miss out the total and replace it with a percentage, or you could try to get the total size by making an additional range request (eg Range: 0-10), as the responding Content-Range header often includes the total unencoded byte size.

You could also calculate time remaining (or percent complete) by comparing bytes downloaded (before decoding) vs content-length.

-- 
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/20180517/2e17cab6/attachment.html>


More information about the webkit-unassigned mailing list