Closed Bug 1678110 Opened 4 years ago Closed 4 years ago

Refactor Fake Plugins to work nicely without NPAPI plugins

Categories

(Core Graveyard :: Plug-ins, task)

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1682030

People

(Reporter: handyman, Unassigned)

References

Details

"Fake" plugins are JS-implemented applications that are part of the browser. Since NPAPI plugins are being removed, the code that handles fake plugins could be made much clearer. For one, it would seem weird to refer to them as fake when there is no "real".

Possible MIME types are found here [1]. Notably, this includes the PDF viewer (MIME type "application/pdf"). In fact, as far as I can tell, the other types listed there don't get a fake plugin handler.


[1] https://searchfox.org/mozilla-central/rev/7b40f0b246ad0b54975b1525811f2ad599b95f33/dom/plugins/base/nsPluginHost.cpp#1386

This bug may be invalid -- the information I had seems to be dated but I'm still investigating. Fake plugins shouldn't still be needed for pdf.js or anything else. See bug 1529164.

So... fake plugins (pdf.js) don't get much from the plugin code and, with the stripped down plugin code, they get even less. The whole thing should just be removed, as the old bug wanted.

Blocks: 1529133

We've still got fake plugins but no NPAPI plugins so this bug is done but bug 1529133 is still valid.

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.