Closed
Bug 144263
Opened 23 years ago
Closed 12 years ago
Need backend for mimetype plug-in association
Categories
(Core Graveyard :: Plug-ins, defect, P2)
Core Graveyard
Plug-ins
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
mozilla1.5alpha
People
(Reporter: rubydoo123, Unassigned)
References
Details
(Keywords: topembed+, Whiteboard: [Plug-in Mgr][PL:BRANCH],adt_a3)
Need to support a mechanism to allow mimetype assocaition with a particular plug-in.
Reporter | ||
Updated•23 years ago
|
Priority: -- → P2
Whiteboard: [ADT1+] [PL RTM] [Plug-in Mgr]
Target Milestone: --- → mozilla1.0
Comment 1•23 years ago
|
||
How is this going to interact with the MIME type mappings in
Prefs/Navigator/Helper Apps?
Comment 2•23 years ago
|
||
There are two ideas I have so far:
1. Use nsIMIMEDataSource and add const usePlugin=5 to nsMIMEInfoHandleAction in
nsIMIMEInfo. Possibly use the same mimetypes.rdf or make a new
plugin_mimetypes.rdf. For each nsIMIMEInfo, create a nsPluginTag from that info
or DLL pointed to, if possible, and give it priority over any "scanned" plugins
found during plugins.refresh(). An embedder or app UI could provide these
mappings similar to the way the helper apps dialog works today. They can already
get exisiting mappings from the DOM navigator array. We could possibly even ship
with certain plugins in a white/black list. (Real in components on white list
and Beatnik on black list, black list means preferredApplicationHandler = nsnull)
2. Make the DOM object navigator.mimetypes[0].enabledPlugin writeable (and
report correctly when read) such that one could choose which plugin was mapped
to which mime type by simple assignment. We'd still need some way to internally
store this info, possibly in the appreg or prefs.
Comments, ideas, suggestions?
Comment 3•23 years ago
|
||
Could you please coordinate this with Bill Law?
![]() |
||
Comment 4•23 years ago
|
||
What modifications to nsIMIMEInfo would need to be made for solution #1, other
than the constant definition?
Comment 5•23 years ago
|
||
If a separate data source is used for embedded plugins vs. helper apps, then I
think we can swing by with only the constant change.
If the same data source is used then I think nsIMIMEInfo will need a new
attribute for a default embedded plugin handler.
Updated•23 years ago
|
Whiteboard: [ADT1+] [PL RTM] [Plug-in Mgr] → [PL RTM] [Plug-in Mgr]
Target Milestone: mozilla1.0 → mozilla1.1alpha
Reporter | ||
Updated•23 years ago
|
Whiteboard: [PL RTM] [Plug-in Mgr] → [Plug-in Mgr]
Reporter | ||
Comment 6•23 years ago
|
||
*** Bug 141402 has been marked as a duplicate of this bug. ***
Comment 7•23 years ago
|
||
We really need a good plug-in manager back-end. Hopefully the fix for this bug
will also superceed any for bug 109739. We need to get away from using the
fragile application registry.
Severity: critical → normal
Whiteboard: [Plug-in Mgr] → [Plug-in Mgr][PL2:P1]
Target Milestone: mozilla1.1alpha → mozilla1.2beta
Updated•23 years ago
|
Target Milestone: mozilla1.2beta → mozilla1.3alpha
Reporter | ||
Comment 10•23 years ago
|
||
moving to 1.4 beta, plug-in branch work
Whiteboard: [Plug-in Mgr][PL2:P1] → [Plug-in Mgr][PL:BRANCH]
Target Milestone: mozilla1.3alpha → mozilla1.4beta
Comment 11•22 years ago
|
||
-->peterl
Okay, new idea:
Use the existing nsIDOMPlugin/sArry and nsIDOMMimeType/sArray since it provides
lots of identification info about the plugin but have new interfaces (frozen for
embedders) that could be QI'ed to for controling these objects.
Comment 12•22 years ago
|
||
Discussed in edt. Plussing.
Updated•22 years ago
|
Target Milestone: mozilla1.4beta → mozilla1.5alpha
Comment 13•21 years ago
|
||
*** Bug 150990 has been marked as a duplicate of this bug. ***
Updated•16 years ago
|
Assignee: peterl-bugs → nobody
QA Contact: bmartin → plugins
Updated•12 years ago
|
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → INCOMPLETE
Updated•3 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•