Bug 279258
| Summary: | 2.45.92 webkit_web_resource_get_data fails | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | enometh |
| Component: | WebKitGTK | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | CC: | aperez, bugs-noreply, mcatanzaro |
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=275087 | ||
enometh
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?
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Adrian Perez
Very likely duplicate of bug #275087
Michael Catanzaro
*** This bug has been marked as a duplicate of bug 275087 ***