Closed Bug 1417022 Opened 7 years ago Closed 7 years ago

Implement an API to declare a content handler for a specific mime type

Categories

(WebExtensions :: General, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1356397

People

(Reporter: laurent, Unassigned)

Details

With the nsIHandlerService components and other stuff, we could declare a content handler for a specific mime type in a XUL/jetpack extension. For example, PDF.js use them to handle PDF content and display the PDF content in HTML. We should have a similar API in WebExtension, so an extension like [Markdown-Viewer](https://github.com/KeithLRobertson/markdown-viewer/) could work efficiently.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
Product: Toolkit → WebExtensions
You need to log in before you can comment on or make changes to this bug.