[WebKit-devel] Flash plugin and webkitpart crash...

Urs Wolfer uwolfer at kde.org
Wed Aug 12 19:46:28 CEST 2009


On Wednesday 12 August 2009 04:21:46 Dawit A. wrote:
> As unbelievable as it may seem, if I use the default user agent string
> returned by QWebPage::userAgentForUrl, then I no longer get these crashes!!
> Dunno really know why yet and I do not feel like fishing into Qt's WebKit
>  code to find out why... However after searching for the place the bt ends
>  (XtRemoveTimeOut), it seems that neither the crash nor the possible
>  solution are at all. As a matter of fact the nspluginviewer works around
>  the issue by giving the nspluginviewer a fake user-agent string "Gecko" as
>  well!!  See the refernce links below.
> 
> Anyhow, I guess it is reasonable to assume that the QtWebKit performs
>  similar workaround and fakes the user agent string, but only if the
>  default user agent string is used ??? Dunno... but sounds logical enough.
> 
> Here are some useful links on this issue for future reference:
> 
> http://www.kdedevelopers.org/node/3162
> http://lists.kde.org/?t=120636594000004&r=1&w=2
> http://lists.kde.org/?t=120903182100001&r=1&w=2

Oh, now that you say that, I remember such a fix for KHTML some time ago... 
(or nsplugins)... I think we should do that same workaround here (or just 
exclude that from our own useragent handling, and let QtWebKit do it.

Bye
urs
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/webkit-devel/attachments/20090812/4ace531c/attachment.sig 


More information about the WebKit-devel mailing list