[webkit-qt] Problem with PluginStrategy::getPluginInfo()
Andreas Kling
andreas.kling at nokia.com
Sat Sep 18 18:57:47 PDT 2010
Hey folks,
Since PlatformStrategies were enabled for Qt with
http://trac.webkit.org/changeset/67787 we've got a little problem.
The global PlatformStrategies object is bound to the most recently
created QWebPage (happens in QWebPagePrivate constructor.) This is
problematic for PluginData::initPlugins() which calls our
PluginStrategy::getPluginInfo() _without page context_.
This is currently causing
http://ie.microsoft.com/testdrive/Performance/BrowserHunt/Default.xhtml
to crash.
And regardless, we can't tie getPluginInfo() to a specific QWebPage
since that breaks reimplementation of QWebPage::pluginFactory().
Ademar, Kenneth, everyone else, thoughts?
-Kling
More information about the webkit-qt
mailing list