Bug 38359 - WebKit in Safari on Mac OS X does not implement NPN_ReloadPlugins
Summary: WebKit in Safari on Mac OS X does not implement NPN_ReloadPlugins
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: Plug-ins (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.6
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-29 16:14 PDT by finklehopper
Modified: 2022-06-20 17:08 PDT (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description finklehopper 2010-04-29 16:14:28 PDT
According to the specification for the Gecko SDK, when a plug-in calls NPN_ReloadPlugins, the behavior is to be as follows:

"NPN_ReloadPlugins allows you to install a new plug-in and load it, or to remove a plug-in, without having to restart the browser." (http://devedge-temp.mozilla.org/library/manuals/2002/plugin/1.0/npn_api15.html)

Upon checking the file WebKit/mac/Plugins/npapi.mm, it appears that the method NPN_ReloadPlugins does nothing but log a message in debug mode.  Upon checking the disassembly of the WebKit Framework on Mac OS X 10.6, the method NPN_ReloadPlugins does nothing but immediately return.

This matches the external behavior we are seeing when our NPAPI plug-in calls NPN_ReloadPlugins when the plug-in is loaded in Safari.
Comment 1 Alexey Proskuryakov 2010-04-30 15:54:24 PDT
See also: bug 30460.
Comment 2 Ahmad Saleem 2022-06-20 11:14:13 PDT
I am not able to find NPN_ReloadPlugins reference in Webkit Github mirror source code except some historical commits (latest being as of 2015 to move NPAPI plugin related code to windows specific platform code).

Safari 14 onward and WebkitGTK does not support NPAPI plugins. Can this be closed as "RESOLVED WONTFIX" Thanks!