<?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>112603</bug_id>
          
          <creation_ts>2013-03-18 11:37:13 -0700</creation_ts>
          <short_desc>[chromium] fast/innerHTML/innerHTML-iframe.html is flaky</short_desc>
          <delta_ts>2013-03-18 14:38:42 -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>Tools / Tests</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</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="Kenneth Russell">kbr</reporter>
          <assigned_to name="Kenneth Russell">kbr</assigned_to>
          <cc>abarth</cc>
    
    <cc>eric</cc>
    
    <cc>jamesr</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>857362</commentid>
    <comment_count>0</comment_count>
    <who name="Kenneth Russell">kbr</who>
    <bug_when>2013-03-18 11:37:13 -0700</bug_when>
    <thetext>Layout test fast/innerHTML/innerHTML-iframe.html is flaky on all platforms. See:

http://test-results.appspot.com/dashboards/flakiness_dashboard.html#group=%40ToT%20-%20chromium.org&amp;showAllRuns=true&amp;showExpectations=true&amp;tests=fast%2FinnerHTML%2FinnerHTML-iframe.html

Seems strange that the onload handler wouldn&apos;t be able to reference document.body. Could the new multithreaded parser have something to do with these failures?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>857390</commentid>
    <comment_count>1</comment_count>
    <who name="James Robinson">jamesr</who>
    <bug_when>2013-03-18 12:06:40 -0700</bug_when>
    <thetext>Hmm, I thought I fixed the document.body flake in r145857 but it looks like the setTimeout is still racing with onload.  The failing diff now is:


TypeError: Cannot set property &apos;innerHTML&apos; of null
PASS: body and iframe cleared without crashing.

which means the setTimeout() blew away &lt;div id=&quot;x&quot;&gt; before the onload fired.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>857473</commentid>
    <comment_count>2</comment_count>
    <who name="James Robinson">jamesr</who>
    <bug_when>2013-03-18 13:28:15 -0700</bug_when>
    <thetext>Perhaps the right fix is to set the timeout from inside the onload handler so it always happens after the .innerHTML.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>857507</commentid>
    <comment_count>3</comment_count>
    <who name="Kenneth Russell">kbr</who>
    <bug_when>2013-03-18 13:54:00 -0700</bug_when>
    <thetext>Is the existing pattern in the test supposed to be guaranteed to work though?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>857514</commentid>
    <comment_count>4</comment_count>
    <who name="James Robinson">jamesr</who>
    <bug_when>2013-03-18 14:00:24 -0700</bug_when>
    <thetext>No, it&apos;s racy.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>857521</commentid>
    <comment_count>5</comment_count>
    <who name="Kenneth Russell">kbr</who>
    <bug_when>2013-03-18 14:06:30 -0700</bug_when>
    <thetext>OK. I&apos;ll update the test.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>857570</commentid>
    <comment_count>6</comment_count>
    <who name="Kenneth Russell">kbr</who>
    <bug_when>2013-03-18 14:38:42 -0700</bug_when>
    <thetext>Fixed the test in http://trac.webkit.org/changeset/146126 .</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>