<?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>33777</bug_id>
          
          <creation_ts>2010-01-17 17:25:21 -0800</creation_ts>
          <short_desc>Iframe readyState is equal to &quot;complete&quot; when the Dom is still not ready.</short_desc>
          <delta_ts>2024-05-09 00:47:32 -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>Frames</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>UNCONFIRMED</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=17761</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Grant Galitz">coolg1024</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>karlcow</cc>
    
    <cc>webkit.org</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>181663</commentid>
    <comment_count>0</comment_count>
    <who name="Grant Galitz">coolg1024</who>
    <bug_when>2010-01-17 17:25:21 -0800</bug_when>
    <thetext>When a form targets an iframe, the iframe&apos;s readyState equals complete one millisecond too early. This is seen by the fact the Dom has a root element of HTML that has no children.
Though one millisecond later the Dom is mapped outand has children. 
The iframe is an XML document.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>181665</commentid>
    <comment_count>1</comment_count>
    <who name="Grant Galitz">coolg1024</who>
    <bug_when>2010-01-17 17:29:29 -0800</bug_when>
    <thetext>ThIs breaks the iframe POST Ajax method</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>464040</commentid>
    <comment_count>2</comment_count>
    <who name="Xavier Morel">webkit.org</who>
    <bug_when>2011-09-08 07:44:33 -0700</bug_when>
    <thetext>I guess this trunk revision was merged into Safari 5.1, because I now see this problem any time I try to get the result of an interaction uploading a file (e.g. via the jquery.forms plugin).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>464652</commentid>
    <comment_count>3</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2011-09-08 22:33:38 -0700</bug_when>
    <thetext>Does any standard specify readyState? If it&apos;s about network loading, then it seems reasonable that it can be complete before parsing is done.

Do you have a complete test case that you could attach to the bug?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2034227</commentid>
    <comment_count>4</comment_count>
    <who name="Karl Dubost">karlcow</who>
    <bug_when>2024-05-09 00:47:32 -0700</bug_when>
    <thetext>&gt; Returns &quot;loading&quot; while the Document is loading, &quot;interactive&quot; once it is finished parsing but still loading subresources, and &quot;complete&quot; once it has loaded.
https://html.spec.whatwg.org/multipage/dom.html#reporting-document-loading-status

This requires a test.
complete means all the subresources have been loaded.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>