WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED MOVED
185719
Encoded downloads result in broken UI
https://bugs.webkit.org/show_bug.cgi?id=185719
Summary
Encoded downloads result in broken UI
Jake Archibald
Reported
2018-05-17 03:20:05 PDT
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.
Attachments
Safari UI
(39.93 KB, image/png)
2018-05-17 03:21 PDT
,
Jake Archibald
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Jake Archibald
Comment 1
2018-05-17 03:21:05 PDT
Created
attachment 340567
[details]
Safari UI
Radar WebKit Bug Importer
Comment 2
2018-05-17 08:04:32 PDT
<
rdar://problem/40331277
>
Brent Fulgham
Comment 3
2022-02-10 20:51:17 PST
This is actually: <
rdar://problem/35510817
> The fix for this issue was needed outside the WebKit project, therefore this is being resolved as 'Moved'.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug