Status: Unconfirmed Owner: ---- Labels: Type-Bug Pri-2 OS-All Area-Misc New issue 9534 by zeckon: When a javascript file is included in head section, it results in body images to be called twice http://code.google.com/p/chromium/issues/detail?id=9534
Chrome Version : 2.0.169.1 URLs (if applicable) : Other browsers tested: Add OK or FAIL after other browsers where you have tested this issue: Safari 4: Firefox 3.x: OK IE 7: OK IE 8: What steps will reproduce the problem? 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 What is the expected result? It is expected that the image file is called once thus incrementing the counter or outputting to system console once. What happens instead? The image file is called twice thus incrementing the counter or outputting to system console twice. Please provide any additional information below. Attach a screenshot if possible. This problem affects the dynamic image generating pages, triggering the image generation logic twice. Attachments: source.rar 258 bytes -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings --~--~---------~--~----~------------~-------~--~----~ Automated mail from issue updates at http://crbug.com/ Subscription options: http://groups.google.com/group/chromium-bugs -~----------~----~----~----~------~----~------~--~---