[webkit-gtk] Bizzare quirks when accessing URL strings

Andrew Wood a.j.w at me.com
Wed Sep 28 06:44:42 PDT 2011


It appears to be initialised. This is some of the examples it printed 
out using g_print when loading macnn.com


trapNavigationRequested called
url length: 159
url pointer is 0x958b4e8
url is: 
http://pixel.quantserve.com/pixel/p-01-0VIaSjnOLg.gif?tags=CONTEXTWEB.TECHNOLOGYCOMPUTING.OPERATINGSYSTEMS.MACOS,PUBLISHER.510040,,CAMPAIGN.0.0,,ADSIZE.300X250
trapNavigationRequested returning

trapNavigationRequested called
url length: 67
url pointer is 0x9576e58
url is: http://remnant.fmpub.net/zone/1552?t=html&p=156049&n=advertisingcom
trapNavigationRequested returning

trapNavigationRequested called
url length: 11
url pointer is 0x959ef18
url is: about:blank
trapNavigationRequested returning

trapNavigationRequested called
url length: 155
url pointer is 0x9586a20
url is: 
http://ads.doclix.com/adserver/serve/js/banner_unit.jsp?pid=16244&codeId=394&cnt=1&width=160&height=200&pageId=65211023&refUrl=http-0X1.E6EC809586A2P+1017//www.macnn.com/&ref=
trapNavigationRequested returning

trapNavigationRequested called
url length: 11
url pointer is 0x95b7000
url is: about:blank
trapNavigationRequested returning

trapNavigationRequested called
url length: 78
url pointer is 0x95b4170
url is: 
http://api.connect.facebook.com/static/v0.4/client_restserver.php?r=1317059766
trapNavigationRequested returning

trapNavigationRequested called
url length: 65
url pointer is 0x957ff80
url is: http://cdn.apture.com/media/html/aptureLoadIframe.html?v=43032629
trapNavigationRequested returning

trapNavigationRequested called
url length: 11
url pointer is 0x95b85b8
url is: about:blank
trapNavigationRequested returning

trapNavigationRequested called
url length: 417
url pointer is 0x95b8200
url is: Segmentation fault

On 26/09/11 16:46, Martin Robinson wrote:
> On Mon, Sep 26, 2011 at 7:55 AM, Andrew Wood<a.j.w at me.com>  wrote:
>
>> Accessing via any of the following calls results in the same behaviour:
>> webkit_network_request_get_uri(request)
> webkit_network_request_get_uri just seems to call soup_message_get_uri
> or get the URI from the private data structure of the GObject. What is
> the pointer value that you're getting from the call? Is it junk or
> NULL?
>
> --Martin



More information about the webkit-gtk mailing list