WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
99994
[Qt] Use the DNS resolve queue
https://bugs.webkit.org/show_bug.cgi?id=99994
Summary
[Qt] Use the DNS resolve queue
Allan Sandfeld Jensen
Reported
2012-10-22 07:04:28 PDT
A queue for DNS prefetch resolutions has been added to the platform independent WebCore code. In Qt we can use that to ensure we actually prefetch more than just the first 10 links encounted in a page, and only prefetch each hostname once during parsing.
Attachments
Patch
(5.25 KB, patch)
2012-10-22 07:07 PDT
,
Allan Sandfeld Jensen
no flags
Details
Formatted Diff
Diff
Patch
(5.90 KB, patch)
2012-10-22 07:37 PDT
,
Allan Sandfeld Jensen
no flags
Details
Formatted Diff
Diff
Patch
(9.55 KB, patch)
2012-10-22 08:06 PDT
,
Allan Sandfeld Jensen
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Allan Sandfeld Jensen
Comment 1
2012-10-22 07:07:52 PDT
Created
attachment 169903
[details]
Patch
WebKit Review Bot
Comment 2
2012-10-22 07:12:39 PDT
Attachment 169903
[details]
did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebCore/ChangeLog', u'Source/WebCor..." exit_code: 1 Source/WebCore/platform/network/qt/DnsPrefetchHelper.h:22: Header file should not contain WebCore config.h. Should be: alphabetically sorted. [build/include_order] [4] Total errors found: 1 in 4 files If any of these errors are false positives, please file a bug against check-webkit-style.
Simon Hausmann
Comment 3
2012-10-22 07:20:25 PDT
Comment on
attachment 169903
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=169903&action=review
>> Source/WebCore/platform/network/qt/DnsPrefetchHelper.h:22 >> +#include "config.h" > > Header file should not contain WebCore config.h. Should be: alphabetically sorted. [build/include_order] [4]
I think the style queue is right here and so I think this requires the code to be moved into DnsPrefetchHelper.cpp. I wonder why it's inline anyway :) Otherwise the change looks good!
Allan Sandfeld Jensen
Comment 4
2012-10-22 07:37:40 PDT
Created
attachment 169907
[details]
Patch
Simon Hausmann
Comment 5
2012-10-22 07:56:38 PDT
Comment on
attachment 169907
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=169907&action=review
r=me but needs minor author fix before landing ;)
> Source/WebCore/platform/network/qt/DnsPrefetchHelper.cpp:2 > - Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies) > + Copyright (C) 2009,2012 Digia Plc. and/or its subsidiary(-ies)
Digia bought the Qt assets, allow the change of author of Qt code, but I'm not sure that extends to WebKit, so I suggest to maintain both here.
Allan Sandfeld Jensen
Comment 6
2012-10-22 08:00:49 PDT
(In reply to
comment #5
)
> (From update of
attachment 169907
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=169907&action=review
> > r=me but needs minor author fix before landing ;) > > > Source/WebCore/platform/network/qt/DnsPrefetchHelper.cpp:2 > > - Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies) > > + Copyright (C) 2009,2012 Digia Plc. and/or its subsidiary(-ies) > > Digia bought the Qt assets, allow the change of author of Qt code, but I'm not sure that extends to WebKit, so I suggest to maintain both here.
Okay, I would have assumed that since Nokia did that when they bought it from Trolltech, it would be the same for Digia. 2009 in this case sounds old enough to originally having been Trolltech copyright.
Allan Sandfeld Jensen
Comment 7
2012-10-22 08:06:51 PDT
Created
attachment 169914
[details]
Patch Avoid having a useless header file, and use consistent file namnig
WebKit Review Bot
Comment 8
2012-10-22 08:33:11 PDT
Comment on
attachment 169914
[details]
Patch Clearing flags on attachment: 169914 Committed
r132074
: <
http://trac.webkit.org/changeset/132074
>
WebKit Review Bot
Comment 9
2012-10-22 08:33:15 PDT
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