Bug 56691 - Web Inspector: Inspector does not always show correct transfer size (for compressed/chunked data)
Summary: Web Inspector: Inspector does not always show correct transfer size (for comp...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 19793 56602
  Show dependency treegraph
 
Reported: 2011-03-18 16:11 PDT by Vsevolod Vlasov
Modified: 2011-03-21 07:40 PDT (History)
3 users (show)

See Also:


Attachments
Patch (33.03 KB, patch)
2011-03-21 04:28 PDT, Vsevolod Vlasov
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Vsevolod Vlasov 2011-03-18 16:11:46 PDT
Currently inspector uses content-Length headers and content size to guess transfer size.
This is not correct for gzippped/chunked data when server does not send Content-Length headers.
We should make it possible to pass real transfer data to inspector.

It is still responsibility of each port to provide valid transfer size data to ResourceLoader/ResourceHandleClient.
This is tracked in following bugs:
Safari: https://bugs.webkit.org/show_bug.cgi?id=19793
Chromium: https://bugs.webkit.org/show_bug.cgi?id=56602
Comment 1 Vsevolod Vlasov 2011-03-21 04:28:08 PDT
Created attachment 86305 [details]
Patch
Comment 2 WebKit Commit Bot 2011-03-21 07:40:50 PDT
Comment on attachment 86305 [details]
Patch

Clearing flags on attachment: 86305

Committed r81580: <http://trac.webkit.org/changeset/81580>
Comment 3 WebKit Commit Bot 2011-03-21 07:40:55 PDT
All reviewed patches have been landed.  Closing bug.