<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>25015</bug_id>
          
          <creation_ts>2009-04-02 17:54:47 -0700</creation_ts>
          <short_desc>When a javascript file is included in head section, it results in body images to be called twice</short_desc>
          <delta_ts>2009-04-02 18:22:34 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>New Bugs</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>24747</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>HasReduction</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="jasneet">jasneet</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>jasneet</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>116372</commentid>
    <comment_count>0</comment_count>
    <who name="jasneet">jasneet</who>
    <bug_when>2009-04-02 17:54:47 -0700</bug_when>
    <thetext>I Steps:
1. Save the following as test.html
&lt;html&gt;
  &lt;head&gt;
    &lt;script type=&quot;text/javascript&quot; src=&quot;test.js&quot;&gt;&lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
    &lt;img src=&quot;image.jsp&quot;&gt;
  &lt;/body&gt;
&lt;/html&gt;

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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>116374</commentid>
    <comment_count>1</comment_count>
      <attachid>29212</attachid>
    <who name="jasneet">jasneet</who>
    <bug_when>2009-04-02 17:55:04 -0700</bug_when>
    <thetext>Created attachment 29212
testcase</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>116377</commentid>
    <comment_count>2</comment_count>
    <who name="Mark Rowe (bdash)">mrowe</who>
    <bug_when>2009-04-02 18:22:34 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of 24747 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>29212</attachid>
            <date>2009-04-02 17:55:04 -0700</date>
            <delta_ts>2009-04-02 17:55:04 -0700</delta_ts>
            <desc>testcase</desc>
            <filename>testcase.zip</filename>
            <type>application/zip</type>
            <size>620</size>
            <attacher name="jasneet">jasneet</attacher>
            
              <data encoding="base64">UEsDBBQAAAAIALuOgjprY85FYAAAAJAAAAAPAAAAdGVzdC1pbWFnZS5odG1ss8koyc2x4+VSULDJ
SE1MAbOA7OLkosyCEoWSyoJUW6WS1IoS/azEskSIqJJCcVEySLS4RC+rWMnORh8iDjFFH26MTVJ+
SiXMwMzcdIi2zNzE9FSgvgIlqHqoKqBGkEsAUEsDBBQAAAAIALyOgjrdOmG6LgEAANUBAAAJAAAA
aW1hZ2UuanNwfZDRT8IwEMbfSfgfziYkarKehBcRRowbiSaoBEfUx8oKzHTt6G4M/nvbDRIfjE93
vX7fd5ffuHcPhdhIWBlNUlNyLGTISB4It5SrEay2wpaSworWwS0DJfSmcvqQfYu9YJDlhbHUvni5
U/yagbTW2HkjYtCbdDvji/g1Sj7nU/CZMF8+zJ4iYAHi+yBCjJMYPh6T5xn0+Q0kVugyo8xooRCn
LwzYlqi4Q6zrmtcDbuwGkwUefFbfm09tQL+cPKWU+dXNxkOudBn+kdMfDoetvRVLkfqaSxLg1YHc
Vdk+ZFFLJ/B42JnVf5zQx1BGSk6WuqkpxGZV5c43xvbDKfC00bVfJj36Ua/beTuWJHNuKuKFzTQp
fckW7hJZEqyNddAdXHY16nYauni2Nqe45gdQSwECFAAUAAAACAC7joI6a2PORWAAAACQAAAADwAA
AAAAAAABACAAAAAAAAAAdGVzdC1pbWFnZS5odG1sUEsBAhQAFAAAAAgAvI6COt06YbouAQAA1QEA
AAkAAAAAAAAAAQAgAAAAjQAAAGltYWdlLmpzcFBLBQYAAAAAAgACAHQAAADiAQAAAAA=
</data>

          </attachment>
      

    </bug>

</bugzilla>