[Webkit-unassigned] [Bug 15775] New: NPAPI behavioural differences with Safari

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 31 09:14:19 PDT 2007


http://bugs.webkit.org/show_bug.cgi?id=15775

           Summary: NPAPI behavioural differences with Safari
           Product: WebKit
           Version: 523.x+ (nightly)
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: UNCONFIRMED
          Severity: Minor
          Priority: P2
         Component: Plug-ins
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: hendry at iki.fi


Safari seems to enter the plugin on NP_Initialize, whilst Opera&Firefox enter
on a main function like:

    int main(NPNetscapeFuncs *pFuncs, NPPluginFuncs *pluginFuncs,
NPP_ShutdownProcPtr *shutdown)

This behavior only seems to happen on Darwin, as Opera&Firefox seem to enter on
NP_Initialize on Linux/Win32. So perhaps this isn't a bug and Opera&Firefox
Darwin plugin support needs updating.

The Netscape Plugin Example /Developer/Examples/WebKit/NetscapeMoviePlugIn/
seems to imply that the _main function_ entry point is for old CFM legacy type
stuff. That's misleading. Don't waste time ripping it out and find
Opera&Firefox stop working.

Also Localized.r seems to be required for Opera&Firefox and not Safari. Very
odd. I found this reference:
http://developer.mozilla.org/en/docs/Gecko_Plugin_API_Reference:Plug-in_Development_Overview#Mac_OS_X

It would be nice if Opera&WebKit&Firefox were more in sync when it comes to
plugin registration.


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



More information about the webkit-unassigned mailing list