<?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>27637</bug_id>
          
          <creation_ts>2009-07-23 22:10:17 -0700</creation_ts>
          <short_desc>[Gtk] Needs a signal for didFinishDocumentLoadForFrame - fails fast/history/saves-state-after-fragment-nav.html</short_desc>
          <delta_ts>2010-07-30 12:36:16 -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>WebKitGTK</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</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>Gtk</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>28823</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Jan Alonzo">jmalonzo</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>gustavo</cc>
    
    <cc>mrobinson</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>134362</commentid>
    <comment_count>0</comment_count>
    <who name="Jan Alonzo">jmalonzo</who>
    <bug_when>2009-07-23 22:10:17 -0700</bug_when>
    <thetext>I would like to propose to that Gtk emit a signal for didFinishDocumentLoadForFrame, probably as a state of load-status. This will also allow us to pass the test above.

Here&apos;s the diff of the failing test:
@@ -1,3 +1 @@
-main frame - has 1 onunload handler(s)
-main frame - has 1 onunload handler(s)
 PASS</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>146161</commentid>
    <comment_count>1</comment_count>
    <who name="Gustavo Noronha (kov)">gustavo</who>
    <bug_when>2009-09-10 04:31:34 -0700</bug_when>
    <thetext>That sounds like a good idea. I feel we should study Mac&apos;s API docs for this delegate and the ones it is related to. This looks like the API used to help with DOM bindings usage, doesn&apos;t it?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>146164</commentid>
    <comment_count>2</comment_count>
    <who name="Jan Alonzo">jmalonzo</who>
    <bug_when>2009-09-10 04:43:44 -0700</bug_when>
    <thetext>(In reply to comment #1)
&gt; That sounds like a good idea. I feel we should study Mac&apos;s API docs for this
&gt; delegate and the ones it is related to. This looks like the API used to help
&gt; with DOM bindings usage, doesn&apos;t it?

I have an implementation for this but it&apos;s a bit hackish. The main issue is that there&apos;s no elegant way for us to connect to each (sub) frame. Most of the time I had to connect while the main frame is loading so I don&apos;t miss a frame (some frames get loaded dynamically). I feel that we might need this functionality once we start working on the DOM bindings so this bug can probably serve as a guinea pig.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>258332</commentid>
    <comment_count>3</comment_count>
    <who name="Martin Robinson">mrobinson</who>
    <bug_when>2010-07-30 12:34:21 -0700</bug_when>
    <thetext>This feature was added in https://bugs.webkit.org/show_bug.cgi?id=32170 . The test passes, so I&apos;ll unskip it now.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>258333</commentid>
    <comment_count>4</comment_count>
    <who name="Martin Robinson">mrobinson</who>
    <bug_when>2010-07-30 12:36:16 -0700</bug_when>
    <thetext>Committed r64368: &lt;http://trac.webkit.org/changeset/64368&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>