[Webkit-unassigned] [Bug 114966] [Qt] QWebKitPlatformPlugin should export available Plugin interfaces

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri May 3 01:38:00 PDT 2013


https://bugs.webkit.org/show_bug.cgi?id=114966





--- Comment #18 from Arunprasad Rajkumar <arurajku at cisco.com>  2013-05-03 01:36:22 PST ---
(In reply to comment #17)
> Then you still get crashes when QtWebKit tries to load a platform plugin that was compiled against the wrong version of the interface.
> 
> The crash is what the interface cast and versioning is supposed to protect us against.

m_plugin = qobject_cast<QWebKitPlatformPlugin*>(obj);

qobject_cast will do it right?(specialized version for Q_DECLARE_INTERFACE)

> 
> If we're willing to give that up, then we could export symbols and actual base classes.

You guys have to decide :), I'm always +1 for exporting symbols.

I also added parent parameter to createExtension like below,

virtual QObject* createExtension(Extension, QObject* parent = 0) const = 0;. 

What do you think?

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



More information about the webkit-unassigned mailing list