Bug 25015

Summary: When a javascript file is included in head section, it results in body images to be called twice
Product: WebKit Reporter: jasneet <jasneet>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: jasneet
Priority: P2 Keywords: HasReduction
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Windows XP   
Attachments:
Description Flags
testcase none

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
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.