[Webkit-unassigned] [Bug 279258] New: 2.45.92 webkit_web_resource_get_data fails

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 6 03:09:41 PDT 2024


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

            Bug ID: 279258
           Summary: 2.45.92 webkit_web_resource_get_data fails
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKitGTK
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: enometh at meer.net
                CC: bugs-noreply at webkitgtk.org

webkit_web_resource_get-data seems to no longer work in the 4.1 api
the outline is as follows:

res = webkit_web_view_get_main_resource( webview )
webkit_web_resource_get_data(res, NULL, cb, NULL);

cb(GObject *res, GAsyncResult *result, gpointer user_data)
{
        char *dest = (char *)user_data;
        gsize len; GError *gerror = NULL;
        guchar *data = webkit_web_resource_get_data_finish(
                (WebKitWebResource *)res, result, &len, &gerror);

}

data seems to be always returned as the empty string ""

can someone please verify if this is happening for them
in the 2.45 current development release?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240906/4f6dd2f2/attachment.htm>


More information about the webkit-unassigned mailing list