<?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>7084</bug_id>
          
          <creation_ts>2006-02-05 06:55:13 -0800</creation_ts>
          <short_desc>REGRESSION: Multiple load events dispatched to &lt;body&gt; (makes layout tests hang)</short_desc>
          <delta_ts>2006-02-06 11:22:46 -0800</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>420+</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://www.haaretz.co.il/?from=hasot</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>HasReduction, Regression</keywords>
          <priority>P1</priority>
          <bug_severity>Blocker</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>mitz</reporter>
          <assigned_to name="Maciej Stachowiak">mjs</assigned_to>
          <cc>darin</cc>
    
    <cc>matt</cc>
    
    <cc>mjs</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>31448</commentid>
    <comment_count>0</comment_count>
    <who name="">mitz</who>
    <bug_when>2006-02-05 06:55:13 -0800</bug_when>
    <thetext>Safari is unresponsive and its CPU usage is very high when going to the above URL.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31449</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2006-02-05 07:06:38 -0800</bug_when>
    <thetext>That would be very new - I don&apos;t see this problem with r12570. Possibly a regression from a fix in bug 7079 - it&apos;s known to hang on at least one regression test.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31450</commentid>
    <comment_count>2</comment_count>
    <who name="">mitz</who>
    <bug_when>2006-02-05 07:14:56 -0800</bug_when>
    <thetext>(In reply to comment #1)
&gt; That would be very new - I don&apos;t see this problem with r12570. Possibly a
&gt; regression from a fix in bug 7079 - it&apos;s known to hang on at least one
&gt; regression test.
&gt; 

This could very well be it: it looks like the root cause for this bug is that &lt;body&gt;&apos;s onload handler is being called multiple times.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31452</commentid>
    <comment_count>3</comment_count>
      <attachid>6273</attachid>
    <who name="">mitz</who>
    <bug_when>2006-02-05 07:25:28 -0800</bug_when>
    <thetext>Created attachment 6273
Testcase

This demonstrates that the onload handler is being called twice.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31453</commentid>
    <comment_count>4</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2006-02-05 09:21:57 -0800</bug_when>
    <thetext>Maciej was looking at this last night -- it&apos;s from his last check-in with &quot;event clean-up&quot;. We&apos;ll probably need to roll that out.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31454</commentid>
    <comment_count>5</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2006-02-05 09:25:17 -0800</bug_when>
    <thetext>Alexey believes Maciej had a fix ready when he went to sleep last night.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31469</commentid>
    <comment_count>6</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2006-02-05 10:59:09 -0800</bug_when>
    <thetext>Rolling out the change because it&apos;s preventing us from running layout tests. Maciej will re-land it soon.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31598</commentid>
    <comment_count>7</comment_count>
    <who name="Joost de Valk (AlthA)">joost</who>
    <bug_when>2006-02-06 11:22:46 -0800</bug_when>
    <thetext>*** Bug 7100 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>6273</attachid>
            <date>2006-02-05 07:25:28 -0800</date>
            <delta_ts>2006-02-05 07:25:28 -0800</delta_ts>
            <desc>Testcase</desc>
            <filename>extra load events.html</filename>
            <type>text/html</type>
            <size>120</size>
            <attacher>mitz</attacher>
            
              <data encoding="base64">PGJvZHkgb25sb2FkPSJhbGVydCgnQm9keSBsb2FkZWQuIFRoaXMgc2hvdWxkIG9ubHkgaGFwcGVu
IG9uY2UuJyk7Ij4KCSAgPGlmcmFtZSBTUkM9ImRhdGE6dGV4dC9odG1sLCI+PC9pZnJhbWU+Cjwv
Ym9keT4K
</data>

          </attachment>
      

    </bug>

</bugzilla>