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.
See also: bug 30460.
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!