Closed
Bug 110660
Opened 23 years ago
Closed 23 years ago
MOZ_PLUGIN_PATH not added to plugins search paths
Categories
(Core :: XPCOM, defect)
Tracking
()
VERIFIED
FIXED
mozilla0.9.7
People
(Reporter: ccarlen, Assigned: ccarlen)
Details
Attachments
(1 file, 2 obsolete files)
2.67 KB,
patch
|
peterlubczynski-bugs
:
review+
jband_mozilla
:
superreview+
|
Details | Diff | Splinter Review |
This came from bug 77231. Working on 2 patches because there are two ways to go about it: 1) for NS_APP_PLUGINS_DIR, use MOZ_PLUGIN_PATH if defined, else use bin/plugins. That's what used to happen. 2) for NS_APP_PLUGINS_DIR_LIST, add MOZ_PLUGIN_PATH if defined *and* bin/plugins. Then we could have both - bin/plugins for standard plugins installed with app and MOZ_PLUGIN_PATH for user added extras. Unix people can decide which they want.
Assignee | ||
Comment 1•23 years ago
|
||
This patch is for option #1 which is the old behavior.
Assignee | ||
Comment 2•23 years ago
|
||
This allows us to have both dirs in the search path.
Assignee | ||
Comment 3•23 years ago
|
||
dmose, blizzard - can you take your pick of which patch and r/sr=?
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9.7
Comment 4•23 years ago
|
||
If probably wouldn't hurt (and maybe even be helpful) if the environment variable was XP?
Assignee | ||
Comment 5•23 years ago
|
||
True. It would work probably everywhere but Mac.
Assignee | ||
Comment 6•23 years ago
|
||
Now I think the env var should just be Unix. I don't really like the idea of having it in the first place but, since people have been using it on Unix, it needs to be maintained. Is the reason that it exists is so that people without admin privleges could install plugins in some directory of theirs and set the var to point to it? I think a better approach is to do what's done on OS X: scan the "Internet Plugins" dir in the user domain, followed by the "Internet Plugins" dir in the global domain. Of course, OS X provides these dirs and a way to find them. On other OSs, we'd have to do it by hand. Sound right? In the meanwhile, I think we should go with option #2 patch as-is.
Comment 7•23 years ago
|
||
Comment on attachment 58286 [details] [diff] [review] patch for option #2 yes, it's the only way users can override admin plugins right now. Since not every platform has an OS global user location for plugins, maybe we should have mozilla profile-based plugins? Anyway, I still think an environment varible for multi-user NT system could be useful and maybe even later in Mach-O. r=peterl
Attachment #58286 -
Flags: review+
Assignee | ||
Comment 8•23 years ago
|
||
Same thing as attachment 58286 [details] [diff] [review] except the env var is used everywhere except Mac.
Attachment #58279 -
Attachment is obsolete: true
Attachment #58286 -
Attachment is obsolete: true
Assignee | ||
Comment 9•23 years ago
|
||
Peter - can you give a fresh r= on new patch? jband - can you sr?
Comment 10•23 years ago
|
||
Comment on attachment 58575 [details] [diff] [review] new patch for option #2 r=peterl
Attachment #58575 -
Flags: review+
Comment 11•23 years ago
|
||
Comment on attachment 58575 [details] [diff] [review] new patch for option #2 sr=jband. I think I'm OK with the enumerator change. You do penalize anyone who makes the mistake of just calling GetNext until it fails. We know this is not the right thing to do, but it would work in most implementations, but not here.
Attachment #58575 -
Flags: superreview+
Assignee | ||
Comment 12•23 years ago
|
||
Checked in.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 13•23 years ago
|
||
Shrirang - can you verify this one so I can get it on 0.9.4 with bug 77231? Along with this, bug 77231 should be verifiable on Unix now too.
Comment 14•23 years ago
|
||
marking verif, confirmed with several people(devp/ moz qa) that this works too.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•