WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
73414
[WebKit2][gtk] Add 'enable-dns-prefetching' property to WebKitSettings
https://bugs.webkit.org/show_bug.cgi?id=73414
Summary
[WebKit2][gtk] Add 'enable-dns-prefetching' property to WebKitSettings
Nayan Kumar K
Reported
2011-11-30 01:46:39 PST
Add 'enable-dns-prefetching' and 'enable-author-and-user-styles' properties to WebKitSettings.
Attachments
Patch
(10.91 KB, patch)
2011-11-30 02:47 PST
,
Nayan Kumar K
no flags
Details
Formatted Diff
Diff
Patch
(10.92 KB, patch)
2011-11-30 03:05 PST
,
Nayan Kumar K
no flags
Details
Formatted Diff
Diff
Patch
(10.93 KB, patch)
2011-11-30 03:08 PST
,
Nayan Kumar K
no flags
Details
Formatted Diff
Diff
Patch
(7.86 KB, patch)
2011-11-30 11:41 PST
,
Nayan Kumar K
no flags
Details
Formatted Diff
Diff
Add enable-dns-prefetch
(7.85 KB, patch)
2011-12-01 09:20 PST
,
Nayan Kumar K
no flags
Details
Formatted Diff
Diff
Show Obsolete
(4)
View All
Add attachment
proposed patch, testcase, etc.
Nayan Kumar K
Comment 1
2011-11-30 02:47:10 PST
Created
attachment 117155
[details]
Patch
WebKit Review Bot
Comment 2
2011-11-30 02:48:37 PST
Thanks for the patch. If this patch contains new public API please make sure it follows the guidelines for new WebKit2 GTK+ API. See
http://trac.webkit.org/wiki/WebKitGTK/AddingNewWebKit2API
Carlos Garcia Campos
Comment 3
2011-11-30 02:55:08 PST
Comment on
attachment 117155
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=117155&action=review
Thanks!
> Source/WebKit2/ChangeLog:11 > + (webkit_settings_class_init): Register new signals.
I guess you mean properties, not signals :-)
> Source/WebKit2/ChangeLog:19 > + (testWebKitSettings): Add new tests.
btw, we added support to skip tests in the bots, I think we should remove the #ifdef here and skip this test in the bots only
> Source/WebKit2/UIProcess/API/gtk/WebKitSettings.h:269 > +webkit_settings_get_enable_dns_prefetching (WebKitSettings* settings);
* is in the wrong place, here we follow the gnome style, not the webkit one.
> Source/WebKit2/UIProcess/API/gtk/WebKitSettings.h:273 > +webkit_settings_set_enable_dns_prefetching (WebKitSettings* settings, > + gboolean enabled);
parameter names are lined up too
Nayan Kumar K
Comment 4
2011-11-30 03:05:34 PST
Created
attachment 117159
[details]
Patch
Nayan Kumar K
Comment 5
2011-11-30 03:08:48 PST
Created
attachment 117161
[details]
Patch
Nayan Kumar K
Comment 6
2011-11-30 03:09:44 PST
(In reply to
comment #3
)
> (From update of
attachment 117155
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=117155&action=review
> > Thanks! > > > Source/WebKit2/ChangeLog:11 > > + (webkit_settings_class_init): Register new signals. > > I guess you mean properties, not signals :-) > > > Source/WebKit2/ChangeLog:19 > > + (testWebKitSettings): Add new tests. > > btw, we added support to skip tests in the bots, I think we should remove the #ifdef here and skip this test in the bots only
I will raise a separate bug to do that.
> > > Source/WebKit2/UIProcess/API/gtk/WebKitSettings.h:269 > > +webkit_settings_get_enable_dns_prefetching (WebKitSettings* settings); > > * is in the wrong place, here we follow the gnome style, not the webkit one. > > > Source/WebKit2/UIProcess/API/gtk/WebKitSettings.h:273 > > +webkit_settings_set_enable_dns_prefetching (WebKitSettings* settings, > > + gboolean enabled); > > parameter names are lined up too
Carlos Garcia Campos
Comment 7
2011-11-30 03:18:23 PST
Comment on
attachment 117161
[details]
Patch Looks good to me
Martin Robinson
Comment 8
2011-11-30 03:36:03 PST
Comment on
attachment 117161
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=117161&action=review
Looks good, except some documentaiton could be expanded.
> Source/WebKit2/UIProcess/API/gtk/WebKitSettings.cpp:727 > + * Determines whether or not author and user style sheets are enabled.
I think this could use a bit more explanation. What are author and user stylesheets?
Nayan Kumar K
Comment 9
2011-11-30 11:41:32 PST
Created
attachment 117239
[details]
Patch
Collabora GTK+ EWS bot
Comment 10
2011-12-01 09:09:13 PST
Comment on
attachment 117239
[details]
Patch
Attachment 117239
[details]
did not pass gtk-ews (gtk): Output:
http://queues.webkit.org/results/10693650
Nayan Kumar K
Comment 11
2011-12-01 09:20:08 PST
Created
attachment 117434
[details]
Add enable-dns-prefetch Fixed a compilation issue
WebKit Review Bot
Comment 12
2011-12-02 09:44:45 PST
Comment on
attachment 117434
[details]
Add enable-dns-prefetch Clearing flags on attachment: 117434 Committed
r101815
: <
http://trac.webkit.org/changeset/101815
>
WebKit Review Bot
Comment 13
2011-12-02 09:44:51 PST
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug