[Webkit-unassigned] [Bug 25015] New: When a javascript file is included in head section, it results in body images to be called twice

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 2 17:54:47 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=25015

           Summary: When a javascript file is included in head section, it
                    results in body images to be called twice
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Windows XP
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: New Bugs
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jasneet at chromium.org
                CC: jasneet at chromium.org


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


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list