Bug 20700 - Web inspector shows wrong size for pdf file loaded with Adobe Reader plug-in
Summary: Web inspector shows wrong size for pdf file loaded with Adobe Reader plug-in
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: Macintosh OS X 10.5
: P2 Normal
Assignee: Nobody
URL: http://www.pamf.org/locations/images/...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-07 10:00 PDT by Gavin Sherlock
Modified: 2014-12-12 14:07 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gavin Sherlock 2008-09-07 10:00:41 PDT
Steps to reproduce:

Go to bug URL
Open Inspector
Click on  the resources tab
Display sizes of the resources

Expected Results:

It will indicate that the pdf is 573119 bytes, as it correctly displays in the Content-Length from the response header.

Actual results:

It indicates that the pdf is of zero size, indicating that the entire data loaded was the same size as the favicon.
Comment 1 Robert Blaut 2008-12-28 23:37:05 PST
Confirmed. But only for a case when Adobe Reader loads PDF inside WebKit. There is no problem with pdf loaded with Preview.
Comment 2 Simon 2009-10-06 14:50:19 PDT
Using the devkit/devtools I get spurious file sizings for imagery.

Steps to reproduce:

Go to a website with some images
Open Inspector
Click on  the resources tab
Display sizes of the resources

Expected results:
Exact and reproducible file sizes for each image.


Actual Results:
Initial file sizes declared file sizes ~1 order of magnitude larger than actual file sizes (20kb showing as 200kb). On page refresh, the file sizes changed to something else altogether (still wildly different to their actual file sizes)

Example Screenshot:
http://img40.imageshack.us/img40/8682/bug20700example.png

Browser Specs:
Chromium V:4.0.222.0 (28149)
Macbook Pro 
Intel 

OSX(Leopard)
Comment 3 Brian Burg 2014-12-12 14:07:26 PST
Closing as invalid, as this bug pertains to the old inspector UI and/or its tests.
Please file a new bug (https://www.webkit.org/new-inspector-bug) if the bug/feature/issue is still relevant to WebKit trunk.