WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 24747
25015
When a javascript file is included in head section, it results in body images to be called twice
https://bugs.webkit.org/show_bug.cgi?id=25015
Summary
When a javascript file is included in head section, it results in body images...
jasneet
Reported
2009-04-02 17:54:47 PDT
I Steps: 1. Save the following as test.html <html> <head> <script type="text/javascript" src="test.js"></script> </head> <body> <img src="image.jsp"> </body> </html> 2. Create a dynamic page (ex. image.jsp, image.php) file which increments some counter or simply outputs a text to system console (This is to implement something to track the requests for this file). Put this file in the same directory with test.html 3. Browse test.html II Issue: It is expected that the image file is called once thus incrementing the counter or outputting to system console once. The image file is called twice thus incrementing the counter or outputting to system console twice. This problem affects the dynamic image generating pages, triggering the image generation logic twice. It may be required to refresh the test.html to reproduce the problem. III Other Browsers: FF3: ok IE7: ok IV Nightly tested: 41855 Bug in Chromium :
http://code.google.com/p/chromium/issues/detail?id=9534
Attachments
testcase
(620 bytes, application/zip)
2009-04-02 17:55 PDT
,
jasneet
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
jasneet
Comment 1
2009-04-02 17:55:04 PDT
Created
attachment 29212
[details]
testcase
Mark Rowe (bdash)
Comment 2
2009-04-02 18:22:34 PDT
*** This bug has been marked as a duplicate of
24747
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug