[Webkit-unassigned] [Bug 136692] New: Race condition with WebKitWebView:is-loading after starting page load

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 9 19:24:55 PDT 2014


           Summary: Race condition with WebKitWebView:is-loading after
                    starting page load
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Gtk
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: mcatanzaro at gnome.org

After starting a page load with, say, webkit_web_view_load_uri or webkit_web_view_go_back, the is-loading property of the web view would ideally be TRUE.  Instead, it is FALSE, and will be set to TRUE soon afterwards. This is unexpected and a practical problem for Epiphany [1].

If we use a PageLoadState::Observer, we can be notified of the new load before these functions return, without the need to manually set the is-loading property in each of the several web view functions that start a load.

It doesn't look like we can completely replace the WebKitLoaderClient with a PageLoadState::Observer, so this is a minimal patch that only changes how we set the is-loading property. We might want to change more.

[1] https://bugzilla.gnome.org/show_bug.cgi?id=735577#c15

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the webkit-unassigned mailing list