<?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>22604</bug_id>
          
          <creation_ts>2008-12-02 14:45:54 -0800</creation_ts>
          <short_desc>Add test to ensure that an onload handler named &apos;onload&apos; is called properly</short_desc>
          <delta_ts>2008-12-05 15:59:33 -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>DOM</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Pam Greene (IRC:pamg)">pam</reporter>
          <assigned_to name="Pam Greene (IRC:pamg)">pam</assigned_to>
          <cc>ap</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>101077</commentid>
    <comment_count>0</comment_count>
    <who name="Pam Greene (IRC:pamg)">pam</who>
    <bug_when>2008-12-02 14:45:54 -0800</bug_when>
    <thetext>Another test.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>101081</commentid>
    <comment_count>1</comment_count>
      <attachid>25684</attachid>
    <who name="Pam Greene (IRC:pamg)">pam</who>
    <bug_when>2008-12-02 14:51:28 -0800</bug_when>
    <thetext>Created attachment 25684
New test + result

This test is not well suited to the JS wrapper because of the onload handler.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>101195</commentid>
    <comment_count>2</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2008-12-03 06:47:36 -0800</bug_when>
    <thetext>Is this the same as fast/dom/Element/onclick-case.html?

&gt; This test is not well suited to the JS wrapper because of the onload handler.

It is also smaller and better because is doesn&apos;t use the JS wrapper - I don&apos;t think there&apos;s any reason at all to use js-test-pre and friends in this case.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>101332</commentid>
    <comment_count>3</comment_count>
      <attachid>25684</attachid>
    <who name="Darin Adler">darin</who>
    <bug_when>2008-12-04 09:23:47 -0800</bug_when>
    <thetext>Comment on attachment 25684
New test + result

r=me</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>101345</commentid>
    <comment_count>4</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2008-12-04 10:01:52 -0800</bug_when>
    <thetext>It still seems to me that this test doesn&apos;t check for anything that isn&apos;t already checked for by fast/dom/Element/onclick-case.html.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>101348</commentid>
    <comment_count>5</comment_count>
    <who name="Pam Greene (IRC:pamg)">pam</who>
    <bug_when>2008-12-04 10:20:06 -0800</bug_when>
    <thetext>Only that onload isn&apos;t necessarily the same code path as onclick, demonstrated by the fact that at one point Chromium passed the onclick test but failed this one.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>101354</commentid>
    <comment_count>6</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2008-12-04 11:26:01 -0800</bug_when>
    <thetext>OK - this wasn&apos;t mentioned before, and the fix for onclick was totally generic.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>101593</commentid>
    <comment_count>7</comment_count>
    <who name="Pam Greene (IRC:pamg)">pam</who>
    <bug_when>2008-12-05 15:59:33 -0800</bug_when>
    <thetext>Landed r39052

Right -- these tests are all part of the Chromium batch, so at some point Chromium passed everything else (that existed at the time) but failed this check.  Sorry for any confusion about that.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>25684</attachid>
            <date>2008-12-02 14:51:28 -0800</date>
            <delta_ts>2008-12-04 09:23:47 -0800</delta_ts>
            <desc>New test + result</desc>
            <filename>22604a.txt</filename>
            <type>text/plain</type>
            <size>1723</size>
            <attacher name="Pam Greene (IRC:pamg)">pam</attacher>
            
              <data encoding="base64">SW5kZXg6IENoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBDaGFuZ2VMb2cJKHJldmlzaW9uIDM4OTIw
KQorKysgQ2hhbmdlTG9nCSh3b3JraW5nIGNvcHkpCkBAIC0xLDMgKzEsMTMgQEAKKzIwMDgtMTIt
MDIgIFBhbWVsYSBHcmVlbmUgIDxwYW1AY2hyb21pdW0ub3JnPgorCisgICAgICAgIFJldmlld2Vk
IGJ5IE5PQk9EWSAoT09QUyEpLgorICAgICAgICAKKyAgICAgICAgaHR0cHM6Ly9idWdzLndlYmtp
dC5vcmcvc2hvd19idWcuY2dpP2lkPTIyNjA0CisgICAgICAgIEFkZCB0ZXN0IGZvciBvbmxvYWQg
aGFuZGxlciBuYW1lZCAnb25sb2FkJy4KKworICAgICAgICAqIGZhc3QvZXZlbnRzL29ubG9hZC1u
YW1lLWNvbGxpc2lvbi1leHBlY3RlZC50eHQ6IEFkZGVkLgorICAgICAgICAqIGZhc3QvZXZlbnRz
L29ubG9hZC1uYW1lLWNvbGxpc2lvbi5odG1sOiBBZGRlZC4KKwogMjAwOC0xMi0wMiAgQ2hyaXMg
RmxlaXphY2ggIDxjZmxlaXphY2hAYXBwbGUuY29tPgogCiAgICAgICAgIFVwZGF0ZSB0ZXN0cyBm
b3IgQnVnIDIyNTk2OiBTb21lIGVsZW1lbnRzIGRvbid0IHJlcG9ydCBBWEJsb2NrUXVvdGVMZXZl
bApJbmRleDogZmFzdC9ldmVudHMvb25sb2FkLW5hbWUtY29sbGlzaW9uLWV4cGVjdGVkL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+CitpZiAod2luZG93LmxheW91dFRlc3RDb250cm9sbGVyKQorICBsYXlvdXRUZXN0Q29u
dHJvbGxlci5kdW1wQXNUZXh0KCk7CitmdW5jdGlvbiBvbmxvYWQoKSB7CisgIHZhciByZXN1bHQg
PSBkb2N1bWVudC5nZXRFbGVtZW50QnlJZCgncmVzdWx0Jyk7CisgIHJlc3VsdC5pbm5lckhUTUw9
J1BBU1M6IG9ubG9hZCBmdW5jdGlvbiBnZXRzIGNhbGxlZC4nOworfQorPC9zY3JpcHQ+Cis8L2Jv
ZHk+Cis8L2h0bWw+Cg==
</data>
<flag name="review"
          id="11989"
          type_id="1"
          status="+"
          setter="darin"
    />
          </attachment>
      

    </bug>

</bugzilla>