Summary: Safari 3 for Windows (tested against 3.0.2, 3.0.3 [522.15.5] and the latest WebKit nightly [r25168]) only checks HKEY_LOCAL_MACHINE for NPAPI plugin locations, not HKEY_CURRENT_USER, which means it does not find plugins that were installed without Administrator priviledges. http://developer.mozilla.org/en/docs/Plugins:_The_first_install_problem explains that HKEY_CURRENT_USER\Software\MozillaPlugins is a valid location for plugin data for non-Administrator installs. Both locations should be checked. Steps to Reproduce: Install an NPAPI plugin in an arbitrary (and ostensibly writeable-as-less-than-Adminstrator) location, e.g. on your Desktop. Create a minimal HKEY_LOCAL_MACHINE registry entry for this plugin, e.g. by running the following registry script: ---------- Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\MozillaPlugins\npsconnect@gemalto.com/SConnect;version=0.5.0.0] "Path"="C:\\Documents and Settings\\vmiliano\\Desktop\\npsconnect.dll" ---------- Check Safari's "Installed Plug-ins" page and see the plugin listed. Delete the registry entry, reload the page and confirm the plugin is no longer listed. Create a minimal HKEY_CURRENT_USER registry entry for the plugin, e.g. by running the following registry script: ---------- Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\MozillaPlugins\npsconnect@gemalto.com/SConnect;version=0.5.0.0] "Path"="C:\\Documents and Settings\\vmiliano\\Desktop\\npsconnect.dll" ---------- Check Safari's "Installed Plug-ins" page and see that the plugin is NOT listed. Expected Results: The plugin should be found whether the plugin is installed in HKEY_LOCAL_MACHINE or HKEY_CURRENT_USER. Actual Results: The plugin is only found when installed in HKEY_LOCAL_MACHINE, requiring Administrator access. Regression: Occurs in Safari 3.0.2, 3.0.3, and in the latest WebKit nightly build (r25168, 2007-08-21 09:28:20 GMT)
Created attachment 16082 [details] My NPAPI plugin, but any will demonstrate the bug
From webkit-dev, the radar is <rdar://problem/5430584>.
Committed revision 25193.