Closed Bug 190413 Opened 22 years ago Closed 14 years ago

Create an nsXMLMIMEService/nsIXMLMIMEService

Categories

(Core Graveyard :: File Handling, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 387930
mozilla1.5alpha

People

(Reporter: bzbarsky, Assigned: bzbarsky)

References

(Blocks 1 open bug)

Details

I'm not sure I like the name; ideas welcome. The basic plan is as follows: interface nsIXMLMIMEService : nsIMIMEService { void saveMIMEInfo(in nsIMIMEInfo mimeInfo); }; This would allow people who want to access MIMEInfo objects stored in mimeTypes.rdf to do so in a read/write manner without having to munge the rdf directly (the existing exthandler and the prefs ui come to mind, as does the helper app dialog; once we do this it can stop using the prefs ui). Darin, would necko ever access the MIME service from off the UI thread? If so, I'll have to make this thing threadsafe; otherwise I don't have to worry about it.... Thoughts?
Priority: -- → P1
Target Milestone: --- → mozilla1.4alpha
necko currently would not try to access this from off the main thread. it'll be a long time, maybe never, before that changes.
Target Milestone: mozilla1.4alpha → mozilla1.5alpha
Blocks: 136979
Sounds like the requirement here will be satisfied by my work in bug 387930.
QA Contact: chrispetersen → file-handling
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.