Bug#578019: libwebkit-1.0-2: makes DNS query for every mouse movement

Gustavo Noronha Silva kov at debian.org
Tue Apr 20 13:12:16 UTC 2010


On Mon, 2010-04-19 at 04:21 -0700, ian_bruce at fastmail.net wrote:
> -- then the above-mentioned DNS pre-resolution will result in exactly
> the behavior that I've described, with the observed result that when the
> mouse is over an actual hyperlink which has already been resolved, the
> stream of DNS queries ceases.
> 
> Confirmation -- consider the following HTML page:

I can reproduce the problem with the HTML page you crafted. Seems worth
reporting upstream (I will do it later today). Here's a quick backtrace:

#0  soup_session_prepare_for_uri (session=0x17e9540, uri=0x23760c0)
    at soup-session.c:1783
#1  0x00007f0f1d7fa349 in WebCore::prefetchDNS (hostname=<value
optimized out>)
    at ../WebCore/platform/network/soup/DNSSoup.cpp:44
#2  0x00007f0f1d4bc740 in WebCore::Chrome::mouseDidMoveOverElement (
    this=0x7f0f204da270, result=..., modifierFlags=24594032)
    at ../WebCore/page/Chrome.cpp:340
#3  0x00007f0f1d4d6e36 in WebCore::EventHandler::mouseMoved (
    this=<value optimized out>, event=...)
    at ../WebCore/page/EventHandler.cpp:1332
#4  0x00007f0f1d82f575 in webkit_web_view_motion_event (
    widget=<value optimized out>, event=0x234d100)
    at ../WebKit/gtk/webkit/webkitwebview.cpp:654

For some reason WebKit thinks it should do the pre-resolution when the
mouse is moved on top of the blank area of the page indeed.

Thanks,

-- 
Gustavo Noronha Silva <kov at debian.org>
Debian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-webkit-maintainers/attachments/20100420/8baf0916/attachment.pgp>


More information about the Pkg-webkit-maintainers mailing list