RESOLVED FIXED 54537
[Gtk] Add support for layoutTestController.setWillSendRequestClearHeader
https://bugs.webkit.org/show_bug.cgi?id=54537
Summary [Gtk] Add support for layoutTestController.setWillSendRequestClearHeader
Sergio Villar Senin
Reported 2011-02-16 01:30:54 PST
[Gtk] Add support for layoutTestController.setWillSendRequestClearHeader
Attachments
Patch (6.06 KB, patch)
2011-02-16 01:35 PST, Sergio Villar Senin
mrobinson: review+
Sergio Villar Senin
Comment 1 2011-02-16 01:35:14 PST
Sergio Villar Senin
Comment 2 2011-02-16 01:37:37 PST
I know ChangeLogs are not OK. I used webkit-path upload to upload the patch and didn't realize that I had to edit both. I guess I should change them before committing
Martin Robinson
Comment 3 2011-02-16 08:29:18 PST
Comment on attachment 82604 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=82604&action=review Great stuff. Please consider the following changes befor committing. > Source/WebCore/platform/network/soup/ResourceRequestSoup.cpp:95 > + GHashTable* headersHash = g_hash_table_new(g_str_hash, g_str_equal); I think I'd rather this be a Vector<String> or a HashMap<String, int>. You're already converting to String below so you can just reuse that. That will allow you to remove a few lines below. > Tools/DumpRenderTree/gtk/DumpRenderTree.cpp:1015 > +static void willSendRequestCallback(WebKitWebView* webView, WebKitWebFrame*, WebKitWebResource* resource, WebKitNetworkRequest* request, WebKitNetworkResponse* redirectResponse) You can remove the "resource' and "redirectResponse" paramter names.
Sergio Villar Senin
Comment 4 2011-02-16 09:47:39 PST
WebKit Review Bot
Comment 5 2011-02-16 10:24:37 PST
http://trac.webkit.org/changeset/78718 might have broken Qt Linux Release The following tests are not passing: media/controls-without-preload.html
Note You need to log in before you can comment on or make changes to this bug.