Closed Bug 213873 Opened 22 years ago Closed 9 years ago

consider passing an extension to GetExtensionForContentType

Categories

(Core Graveyard :: Embedding: APIs, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: Biesinger, Assigned: adamlock)

Details

bug 147679 introduced a new function nsIMIMEService::GetFromTypeAndExtension; the code at http://lxr.mozilla.org/seamonkey/source/embedding/components/webbrowserpersist/src/nsWebBrowserPersist.cpp#1288 was changed to use it but pass nsnull for the extension. in some cases, the mimeservice can give back a "better" nsIMIMEInfo if it has an extension; maybe this code here can pass one in as well.
QA Contact: carosendahl → apis
Marking a bunch of bugs in the "Embedding: APIs" component INCOMPLETE in preparation to archive that component. If I have done this incorrectly, please reopen the bugs and move them to a more correct component as we don't have "embedding" APIs any more.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → INCOMPLETE
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.