Closed Bug 184506 Opened 22 years ago Closed 12 years ago

solve "first install" problem for XPT files

Categories

(Core Graveyard :: Plug-ins, defect, P3)

Tracking

(Not tracked)

RESOLVED WONTFIX
mozilla1.9alpha1

People

(Reporter: peterlubczynski-bugs, Assigned: peterlubczynski-bugs)

References

Details

(Whiteboard: [PL:BRANCH])

Currently, XPT files must be located in a known location specified by the embedding application. With PLIDs specified in the Windows registry, plugin vendors publish the install location of their plugin and XPT which will likely not be a known location. This bug is opened to implement a way to scan XPT files in any location specified by the plugins module via PLID. The problem is that the XPT scan is done before the plugins module has a chance to load or scan for plugins and the scan is limited to directories specified by the embedding application in the directory service provider. The XPT scan does a compare with the previous scan in order to optimize registration so simply adding the directories latter would cause a performance hit on each startup. One idea is to have XPT's AutoRegister incorporate reading a flat file of directories written to by the plugins module. The contents of the file should only change if we detect new/removed plugins so we'll only have the performance hit of opening and reading the file. Embedding vendors desiring to inhibit this feature could also use a pref disabling the plugins module from writing the file in the first place.
setting to the branch milestone
Priority: -- → P3
Whiteboard: [PL:BRANCH]
Target Milestone: --- → mozilla1.4beta
--->peterl
Assignee: anthonyd → peterlubczynski
*** Bug 255910 has been marked as a duplicate of this bug. ***
Setting severity to major as this bug effectively breaks sites that embed the real player plugin (see bug 255910 for details). A highly visible example of this is the BBC radio site (http://www.bbc.co.uk/radio/aod/radio4.shtml?listen). The audio is played, but all the control buttons are broken. This can be fixed by manually copying the xpt file to the components directory, but that's hardly a feature that's going to win over new users! I've also changed the target milestone - apologies in advance if I'm not meant to do this.
Severity: normal → major
Target Milestone: mozilla1.4beta → mozilla1.9alpha
QA Contact: shrir → plugins
XPCOM scripting is no longer supported
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WONTFIX
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.