[Webkit-unassigned] [Bug 23846] [GTK]Enable DNS prefetching

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 19 02:16:18 PDT 2009


------- Comment #3 from collinj at webkit.org  2009-03-19 02:16 PDT -------
I think prefetchDNS gets called a lot with an empty hostname when you move your
mouse over non-hyperlink DOM elements:

void Chrome::mouseDidMoveOverElement(const HitTestResult& result, unsigned
312     {
313         if (result.innerNode()) {
314             Document* document = result.innerNode()->document();
315             if (document && document->isDNSPrefetchEnabled())
316                 prefetchDNS(result.absoluteLinkURL().host());
317         }

For performance it might make sense to check hostname and see if it's empty or
not before forwarding it on to the network stack.

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the webkit-unassigned mailing list