<?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>20884</bug_id>
          
          <creation_ts>2008-09-16 10:29:14 -0700</creation_ts>
          <short_desc>Fix LayoutTests that call notifyDone() twice</short_desc>
          <delta_ts>2008-12-17 20:17:28 -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>Tools / Tests</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.5</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="Simon Fraser (smfr)">simon.fraser</reporter>
          <assigned_to name="Adam Barth">abarth</assigned_to>
          <cc>abarth</cc>
    
    <cc>rwlbuis</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>91391</commentid>
    <comment_count>0</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2008-09-16 10:29:14 -0700</bug_when>
    <thetext>Following on from bug 20875, some tests call notifyDone() twice. This used to result in memory corruption; now it results in test failure (possibly on some later test).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>91395</commentid>
    <comment_count>1</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2008-09-16 10:38:13 -0700</bug_when>
    <thetext>I get occasional failures in fast/dom/gc-9.html, which suggest that fast/dom/gc-7.html or fast/dom/gc-8.html are doing something bad.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>91412</commentid>
    <comment_count>2</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2008-09-16 12:43:47 -0700</bug_when>
    <thetext>A test prior to svg/custom/gradient-cycle-detection.html also seems to have issues.

Bug 20881 covers animations/change-one-anim.html </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>91414</commentid>
    <comment_count>3</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2008-09-16 12:55:22 -0700</bug_when>
    <thetext>Looks like gradient-attr-update.svg can call notifyDone() twice because myfunc() is called both by the onload, and by the onclick. I&apos;m not sure how to fix that test.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>91421</commentid>
    <comment_count>4</comment_count>
      <attachid>23483</attachid>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2008-09-16 13:03:02 -0700</bug_when>
    <thetext>Created attachment 23483
Fix test to not call notifyDone() twice</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>91424</commentid>
    <comment_count>5</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2008-09-16 13:16:18 -0700</bug_when>
    <thetext>Committing to http://svn.webkit.org/repository/webkit/trunk ...
	M	LayoutTests/ChangeLog
	M	LayoutTests/animations/change-one-anim.html
	M	LayoutTests/svg/custom/gradient-attr-update.svg
Committed r36520

Keeping bug open for fast/dom/gc-8.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>91531</commentid>
    <comment_count>6</comment_count>
      <attachid>23483</attachid>
    <who name="Darin Adler">darin</who>
    <bug_when>2008-09-17 14:47:23 -0700</bug_when>
    <thetext>Comment on attachment 23483
Fix test to not call notifyDone() twice

rs=me -- needs ChangeLog -- fix seems a little indirect to me, but should be fine</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95263</commentid>
    <comment_count>7</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2008-10-14 01:37:58 -0700</bug_when>
    <thetext>Will land.  I&apos;ll add a ChangeLog because I&apos;m that nice.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>95270</commentid>
    <comment_count>8</comment_count>
      <attachid>23483</attachid>
    <who name="Adam Barth">abarth</who>
    <bug_when>2008-10-14 02:05:21 -0700</bug_when>
    <thetext>Comment on attachment 23483
Fix test to not call notifyDone() twice

Clearing review flag.  This has already been landed.  Keeping open per comment above.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>102854</commentid>
    <comment_count>9</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2008-12-17 20:17:28 -0800</bug_when>
    <thetext>I don&apos;t think anything remains now.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>23483</attachid>
            <date>2008-09-16 13:03:02 -0700</date>
            <delta_ts>2008-10-14 02:05:21 -0700</delta_ts>
            <desc>Fix test to not call notifyDone() twice</desc>
            <filename>svg_test_fix.txt</filename>
            <type>text/plain</type>
            <size>1244</size>
            <attacher name="Simon Fraser (smfr)">simon.fraser</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL0xheW91dFRlc3RzL3N2Zy9jdXN0b20vZ3JhZGllbnQtYXR0ci11cGRhdGUu
c3ZnIGIvTGF5b3V0VGVzdHMvc3ZnL2N1c3RvbS9ncmFkaWVudC1hdHRyLXVwZGF0ZS5zdmcKaW5k
ZXggN2I3MTdjYS4uZDBjZTM4NyAxMDA2NDQKLS0tIGEvTGF5b3V0VGVzdHMvc3ZnL2N1c3RvbS9n
cmFkaWVudC1hdHRyLXVwZGF0ZS5zdmcKKysrIGIvTGF5b3V0VGVzdHMvc3ZnL2N1c3RvbS9ncmFk
aWVudC1hdHRyLXVwZGF0ZS5zdmcKQEAgLTEsNiArMSw2IEBACiA8P3htbCB2ZXJzaW9uPSIxLjAi
IGVuY29kaW5nPSJVVEYtOCI/PgogPC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