Bug 16647 - Web inspector shows incorrect Network timings for pdf loaded with Adobe Reader plug-in
Summary: Web inspector shows incorrect Network timings for pdf loaded with Adobe Reade...
Status: RESOLVED WORKSFORME
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Nobody
URL: http://www.pamf.org/locations/images/...
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-28 14:55 PST by Gavin Sherlock
Modified: 2014-12-14 20:41 PST (History)
2 users (show)

See Also:


Attachments
screenshot of network pane after loading pdf (88.26 KB, image/png)
2008-03-13 23:22 PDT, Gavin Sherlock
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gavin Sherlock 2007-12-28 14:55:08 PST
Make sure Acrobat is installed, and configured to display pdfs in the browser.  Go to bug URL (get annoyed that it takes so long to load, and that Safari is hung while it loads).  When it has finally loaded, select "Show Web Inspector" from the Debug menu.

Expected results:

Inspector should tell me something about the size of the pdf, and tell me something about the time it took to download.

Actual results:

There's not much useful information, and the Network part of the inspector has lots of NaNs across the top, measuring the time in days.

Tested with r28997 on 10.4.11 with Safari 3.0.4 (523.12.2)
Comment 1 Adam Roben (:aroben) 2008-03-13 22:34:01 PDT
I can't reproduce on ToT on Windows XP.
Comment 2 Gavin Sherlock 2008-03-13 23:22:12 PDT
Reproduces with latest nightly (r31030) on 10.5.2, on PowerPC (G5).  Screenshot of Inspector's Network Pane forthcoming.
Comment 3 Gavin Sherlock 2008-03-13 23:22:59 PDT
Created attachment 19757 [details]
screenshot of network pane after loading pdf
Comment 4 Gavin Sherlock 2008-03-13 23:24:41 PDT
I should note, it took a long time for the pdf to load, and Safari was essentially hung while it loaded.  Also note, the pdf is being viewed by the Acrobat plugin, and detailed in the original description (not sure if that makes it invalid).
Comment 5 Gavin Sherlock 2008-09-07 09:57:54 PDT
The inspector (testing with r36247) has different behavior now, in  that it gives a timing for the pdf, though I think the timing is incorrect.  Also, when looking at the sizes of the resources, it thinks the pdf is of negligible size - I will open a new bug for that.
Comment 6 Robert Blaut 2008-12-28 23:38:14 PST
Confirmed, but only if Pdf is loaded with Adobe Reader plug-in.