Re-produce steps: 1. export MOZ_PLUGIN_PATH=$MOZ_PLUGIN_PATH:/usr/sfw/lib/mozilla/plugins 2. firefox expected result: firefox can find all the plugins under /usr/sfw/lib/mozilla/plugins actual result: firefox can't find those plugins
Created attachment 252901 [details] [diff] [review] skip leading PATH_SEPARATORS in the MOZ_PLUGIN_PATH
Attachment #252901 - Flags: review?(benjamin)
The root cause is that MOZ_PLUGIN_PATH is empty before step 1, so the MOZ_PLUGIN_PATH is set to ":/usr/sfw/lib/mozilla/plugin". nsPathsDirectoryEnumerator uses it as a directory name which doesn't exist.
This really belongs in core->plugins
Component: Plugin Finder Service → Plug-ins
Product: Firefox → Core
QA Contact: plugin.finder → plugins
Comment on attachment 252901 [details] [diff] [review] skip leading PATH_SEPARATORS in the MOZ_PLUGIN_PATH Bouncing to Benjamin, XPCOM owner. /be
Attachment #252901 - Flags: review?(brendan) → review?(benjamin)
FIXED on trunk.
Status: NEW → RESOLVED
Last Resolved: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.