[Webkit-unassigned] [Bug 131357] [GTK] Plugin process crashes when loading totem plugin

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 8 09:31:18 PDT 2014


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


Carlos Garcia Campos <cgarcia at igalia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andersca at apple.com




--- Comment #8 from Carlos Garcia Campos <cgarcia at igalia.com>  2014-04-08 09:31:38 PST ---
(In reply to comment #7)
> (In reply to comment #3)
> > Note that this is not specific to totem plugin, but to any plugin that defines the NPN functions
> 
> What NPN function is totem implementing? I believe that NPN_Whatever is reserved for the browser. The Mozilla plugin documentation says: 
> 
> "Browser methods are functions implemented by Gecko; the plug-in calls these functions. The names of all the browser functions in the API begin with NPN_, for example, NPN_Write."

All of them, they are just wrappers around the NPNetscapeFuncs. The problem is that the NPN functions we are currently exporting in WebKit2 are the WebCore ones, so even if totem didn't implement those functions, it would end up calling the wrong methods. Only plugins using the NPNetscapeFuncs struct directly currently work in WebKit2.

-- 
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