<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [GTK] No way to safely use webkit_web_view_get_snapshot() as pages are not rendered when LOAD_FINISHED is called"
   href="https://bugs.webkit.org/show_bug.cgi?id=164180#c5">Comment # 5</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [GTK] No way to safely use webkit_web_view_get_snapshot() as pages are not rendered when LOAD_FINISHED is called"
   href="https://bugs.webkit.org/show_bug.cgi?id=164180">bug 164180</a>
              from <span class="vcard"><a class="email" href="mailto:clopez&#64;igalia.com" title="Carlos Alberto Lopez Perez &lt;clopez&#64;igalia.com&gt;"> <span class="fn">Carlos Alberto Lopez Perez</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=164180#c4">comment #4</a>)
<span class="quote">&gt; (In reply to <a href="show_bug.cgi?id=164180#c3">comment #3</a>)
&gt; &gt; (In reply to <a href="show_bug.cgi?id=164180#c2">comment #2</a>)
&gt; &gt; &gt; (In reply to <a href="show_bug.cgi?id=164180#c1">comment #1</a>)
&gt; &gt; &gt; &gt; I don't think we should change the semantics of LOAD_FINISHED, we should
&gt; &gt; &gt; &gt; probably expose APILoaderClient::didReachLayoutMilestone, and the
&gt; &gt; &gt; &gt; applications could wait for DidFirstVisuallyNonEmptyLayout or
&gt; &gt; &gt; &gt; DidHitRelevantRepaintedObjectsAreaThreshold, I don't know the details of the
&gt; &gt; &gt; &gt; milestones.
&gt; &gt; &gt; 
&gt; &gt; &gt; Why you think we should not change when LOAD_FINISHED triggers?
&gt; &gt; &gt; What is the use case of having a LOAD_FINISHED signal that doesn't trigger
&gt; &gt; &gt; always when the page is fully rendered??
&gt; &gt; 
&gt; &gt; Because load finished is not about rendering but about networking, the page
&gt; &gt; finished loading, but not necessarily rendering. That's why there are other
&gt; &gt; callbacks more related to rendering like the ones I mentioned before.
&gt; 
&gt; I think that this is an internal implementation detail that don't
&gt; necessarily has to be exposed in our API
&gt; 
&gt; Quoting our docs:
&gt; 
&gt; &quot; WEBKIT_LOAD_FINISHED This state means that everything that was required to
&gt; display the page has been loaded. &quot;
&gt; 
&gt; <a href="https://webkitgtk.org/reference/webkitgtk/stable/WebKitWebFrame">https://webkitgtk.org/reference/webkitgtk/stable/WebKitWebFrame</a>.
&gt; html#WebKitLoadStatus</span >

Sorry, I got the doc from the webkit1 API by mistake. The one for WK2:

WEBKIT_LOAD_FINISHED Load completed. All resources are done loading or there was an error during the load operation.

<a href="https://webkitgtk.org/reference/webkit2gtk/stable/WebKitWebView.html#WebKitLoadEvent">https://webkitgtk.org/reference/webkit2gtk/stable/WebKitWebView.html#WebKitLoadEvent</a>

My understanding of what that means remains the same.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>