Closed Bug 959224 Opened 11 years ago Closed 8 years ago

Out of process plugin mimetypes

Categories

(Core :: Widget: Gtk, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: jrmuizel, Unassigned)

References

(Blocks 1 open bug)

Details

Currently, plugin mimetypes are read from the browser process. This occasionally needs to happen for all plugins to create a database for determining which, if any, plugin is used for which mimetypes. Perhaps we could get lucky with RTLD_LOCAL dlopen if the plugin runs no functions and has no static constructors that use GTK/GDK, and GTK has no constructors, but this is delicate at best. A better approach is to read mimetypes from the plugin process and shut down these processes when done.
OS: Mac OS X → Linux
Blocks: gtk3
Launching a process is a pretty high price to pay, and currently we always do it synchronously at startup. We may need to do some combination of: * scanning for plugins and loading them all in a single process just to scan for MIME types * loading plugin info asynchronously instead of blocking everything the first time we need it
Blocks: 1034064
No longer blocks: 1034064
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.