Closed
Bug 959224
Opened 11 years ago
Closed 8 years ago
Out of process plugin mimetypes
Categories
(Core :: Widget: Gtk, defect)
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.
Reporter | ||
Updated•11 years ago
|
OS: Mac OS X → Linux
Comment 1•11 years ago
|
||
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
Updated•11 years ago
|
Updated•8 years ago
|
Blocks: gtk3-pre-3.20
Updated•8 years ago
|
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.
Description
•