[Webkit-unassigned] [Bug 82192] [EFL][DRT] Catch the "resource, request, willsend" signal

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 28 06:35:10 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=82192





--- Comment #10 from Christophe Dumez <christophe.dumez at intel.com>  2012-03-28 06:35:10 PST ---
@Raphael Kubo da Costa: I ran more test cases and figured out that I'm not getting the "resource,request,willsend" signal for resources in a iframe (e.g. "LayoutTests/http/tests/misc/window-dot-stop.html").

I believe this is a side effect on me listening for the signal on the main frame instead of the view.

However, unlike the GTK port equivalent, the FrameLoaderClientEfl dispatchWillSendRequest() will emit the "resource,request,willsend" signal on the view, only for the main frame:

************
    ewk_frame_request_will_send(m_frame, &messages);
    // We want to distinguish between a request for a document to be loaded into
    // the main frame, a sub-frame, or the sub-objects in that document (via Chromium).
    if (loader) {
        const FrameLoader* frameLoader = loader->frameLoader();
        const bool isMainFrameRequest = (loader == frameLoader->provisionalDocumentLoader() && frameLoader->isLoadingMainFrame());
        if (isMainFrameRequest)
            evas_object_smart_callback_call(m_view, "resource,request,willsend", &messages);
    }
************

Is this really required or can I remove the check and emit the signal on the view for all resources (like in GTK port)?

-- 
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