[Webkit-unassigned] [Bug 136692] Race condition with WebKitWebView:is-loading after starting page load
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Sep 10 06:23:39 PDT 2014
https://bugs.webkit.org/show_bug.cgi?id=136692
--- Comment #4 from Carlos Garcia Campos <cgarcia at igalia.com> 2014-09-10 06:23:42 PST ---
(In reply to comment #3)
> (In reply to comment #2)
> > (From update of attachment 237878 [details] [details])
> > View in context: https://bugs.webkit.org/attachment.cgi?id=237878&action=review
> >
> > I also started with this, I have a wip patch in my local repo, but it's blocked by other differences between our API and the internal one regarding the active URL.
>
> Do you want me to keep working on this then?
I already have a patch, but we need to fix other things before, so it's better to wait for now.
> > > Source/WebKit2/UIProcess/API/gtk/WebKitWebViewBase.cpp:102
> > > + RefPtr<WebKitPageLoadObserver> pageLoadObserver;
> >
> > I don't think this should be in WebKitWebViewBase, but in WebKitWebView.
> >
> > > Source/WebKit2/UIProcess/API/gtk/WebKitWebViewBase.cpp:1011
> > > + priv->pageLoadObserver = WebKitPageLoadObserver::create(*WEBKIT_WEB_VIEW(webkitWebViewBase), priv->pageProxy->pageLoadState());
> >
> > It's not correct to cast the webkitWebViewBase as WebKitWebView here.
>
> The problem is that I'm not sure when else it is safe to add the page load observer, except when the WebKitWebViewBase creates a new page?
In the web view constructor
--
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