<?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>17263</bug_id>
          
          <creation_ts>2008-02-09 14:33:27 -0800</creation_ts>
          <short_desc>Acid3 test 80 (linktest onload didn&apos;t fire) fails on reload but passes on first run</short_desc>
          <delta_ts>2008-02-24 01:45:07 -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>WebCore JavaScript</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>http://acid3.acidtests.org/</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>17064</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Matt Lilek">dev+webkit</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>darin</cc>
    
    <cc>eric</cc>
    
    <cc>ian</cc>
    
    <cc>webkit</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>69949</commentid>
    <comment_count>0</comment_count>
    <who name="Matt Lilek">dev+webkit</who>
    <bug_when>2008-02-09 14:33:27 -0800</bug_when>
    <thetext>If you run the Acid 3 test in ToT, you pass 79/100 tests, reloading it and running it again only passes 78/100 tests.  Test 80 (linktest onload didn&apos;t fire) does not pass the second time.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69972</commentid>
    <comment_count>1</comment_count>
    <who name="Robert Blaut">webkit</who>
    <bug_when>2008-02-09 15:52:37 -0800</bug_when>
    <thetext>Webkit r30109. Tens of Acid3 test runs and I haven&apos;t notice 79/100 score at all.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70112</commentid>
    <comment_count>2</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2008-02-10 12:39:33 -0800</bug_when>
    <thetext>I&apos;ve seen this; we need to investigate.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70166</commentid>
    <comment_count>3</comment_count>
    <who name="Dave Hyatt">hyatt</who>
    <bug_when>2008-02-10 17:34:44 -0800</bug_when>
    <thetext>It never seems to pass for me.  Maybe if I started with an empty cache.

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70223</commentid>
    <comment_count>4</comment_count>
    <who name="Robert Blaut">webkit</who>
    <bug_when>2008-02-11 03:13:23 -0800</bug_when>
    <thetext>Checked the Acid3 test again (it was changed a little - we pass only 79/100 now, red cat displays now).

On the first run the test 80 failed (78/100). After reload the test passed (79/100).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70371</commentid>
    <comment_count>5</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2008-02-12 01:54:14 -0800</bug_when>
    <thetext>This and bug 16770 refer to the same Acid3 failure.  Which is the real cause, I&apos;m not sure.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70964</commentid>
    <comment_count>6</comment_count>
    <who name="Robert Blaut">webkit</who>
    <bug_when>2008-02-17 12:19:15 -0800</bug_when>
    <thetext>The issue relies on onload so it turns my attention to behavior reported in bug 15137 or maybe in bug 14693.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71701</commentid>
    <comment_count>7</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2008-02-24 00:33:09 -0800</bug_when>
    <thetext>I believe the reason this test fails on reload may be that on reload the frame gets a new src attribute, but reload simply reloads the old URL. Firefox 2 fails the same way (I didn&apos;t try a Firefox 3 beta), and it&apos;s possible this is a feature, not a bug.

When I wrote the regression test LayoutTests/fast/history/subframe-is-visited.html I worked around this by giving the frame a new name each time. It&apos;s possible Acid3 should be modified to do the same thing. Or maybe this truly is a bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71702</commentid>
    <comment_count>8</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2008-02-24 00:34:44 -0800</bug_when>
    <thetext>Hmm, after saying all that, I tested and with my latest fix, this seems to work even on reload.

I&apos;m going to say FIXED for this bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71706</commentid>
    <comment_count>9</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2008-02-24 01:19:08 -0800</bug_when>
    <thetext>The script manually changes the src=&quot;&quot; during the test, so it shouldn&apos;t matter if reload reloads the old URI.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71709</commentid>
    <comment_count>10</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2008-02-24 01:45:07 -0800</bug_when>
    <thetext>(In reply to comment #9)
&gt; The script manually changes the src=&quot;&quot; during the test, so it shouldn&apos;t matter
&gt; if reload reloads the old URI.

Yes, I realize that.

But when I tried a simple test case, the page that manually changed the src of the iframe element did not load that new src on either Safari or Firefox. I know that sounds crazy. Obviously I didn&apos;t understand the issue thoroughly since I can&apos;t explain it right now. But there&apos;s something unusual going on with frame reloading and dynamic changes to the iframe src attribute, in both browsers.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>