RESOLVED FIXED Bug 79667
[GTK] Add method webkit_web_resource_get_data() to WebKit2 GTK+ API
https://bugs.webkit.org/show_bug.cgi?id=79667
Summary [GTK] Add method webkit_web_resource_get_data() to WebKit2 GTK+ API
Carlos Garcia Campos
Reported 2012-02-27 06:34:54 PST
And webkit_web_resource_get_data_finish() to finish the async operation.
Attachments
Patch (15.74 KB, patch)
2012-02-27 06:39 PST, Carlos Garcia Campos
gustavo: review+
Carlos Garcia Campos
Comment 1 2012-02-27 06:39:05 PST
Gustavo Noronha (kov)
Comment 2 2012-02-28 06:43:37 PST
Comment on attachment 129029 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=129029&action=review +1 > Source/WebKit2/UIProcess/API/gtk/WebKitWebResource.cpp:346 > + * of error. Set @length to a #gsize to get the length of the string. I'd say 'if @length is not %NULL, the size of the data will be assigned to it', also, I would avoid using 'string' in any of these, because they are often not strings.
Carlos Garcia Campos
Comment 3 2012-02-28 06:45:25 PST
(In reply to comment #2) > (From update of attachment 129029 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=129029&action=review > > +1 > > > Source/WebKit2/UIProcess/API/gtk/WebKitWebResource.cpp:346 > > + * of error. Set @length to a #gsize to get the length of the string. > > I'd say 'if @length is not %NULL, the size of the data will be assigned to it', also, I would avoid using 'string' in any of these, because they are often not strings. Indeed, I really meant the data not the string :-P
Carlos Garcia Campos
Comment 4 2012-03-06 04:41:34 PST
I haven't landed this yet, because it depends on bug #79477, a review would be appreciated :-)
Carlos Garcia Campos
Comment 5 2012-03-27 01:57:09 PDT
Note You need to log in before you can comment on or make changes to this bug.