Bug 26327 - window.open fires two HTTP requests for PDF files
Summary: window.open fires two HTTP requests for PDF files
Status: UNCONFIRMED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Page Loading (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.5
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-11 11:06 PDT by Frank Hirsch
Modified: 2013-09-03 15:01 PDT (History)
3 users (show)

See Also:


Attachments
test scenario loading PDF & HTML files using window.open - creates two HTTP requests on server upon first load for PDF, beaves as expected for HTML file (476 bytes, text/html)
2009-06-11 11:14 PDT, Frank Hirsch
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Hirsch 2009-06-11 11:06:22 PDT
I experienced in the apache webserver logfiles executing JS "window.open('test.pdf')" does produce two HTTP requests in the logfiles (first load). Still, although loaded from the browsers cache the second time, this creates another entry. As for using "window.open('test.html')" this behaves as expected.
I have been told - but not tested myself - this also applies for Safari 3.x.

As for people runinng logfile analyzers this is a pretty critical beahavior as the statistics of downloaded binary files are not properly reported.
Comment 1 Frank Hirsch 2009-06-11 11:14:19 PDT
Created attachment 31167 [details]
test scenario loading PDF & HTML files using window.open - creates two HTTP requests on server upon first load for PDF, beaves as expected for HTML file