Bug 56691

Summary: Web Inspector: Inspector does not always show correct transfer size (for compressed/chunked data)
Product: WebKit Reporter: Vsevolod Vlasov <vsevik>
Component: Web Inspector (Deprecated)Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: ap, commit-queue, pfeldman
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 19793, 56602    
Attachments:
Description Flags
Patch none

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.