Closed
Bug 230017
Opened 21 years ago
Closed 14 years ago
RFE: Run plugins in a separate thread
Categories
(Core Graveyard :: Plug-ins, enhancement)
Core Graveyard
Plug-ins
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: roland.mainz, Unassigned)
References
()
Details
(Whiteboard: bug 156493 is for plugins-in-seperate-process, this discussion is about plugin-in-seperate-thread!)
RFE: Run plugins in a seperate thread(s; one per plugin) to decouple them from
other activities in the browser.
Currently a very busy Flash plugin (like a fast endless animation) can make all
other tasks in the browser/mail/news/calendar very sluggish. Moving the plugin
into a seperate thread (and for X11 platforms: A seperate Xserver connection
opened with XOpenDisplay()) would greatly improve that situation (a good example
for the performance improvements is "Konqueror" which runs plugins in a seperate
process - in most cases this design outperforms Mozilla by magnitudes (just test
it yourself via running multiple Flash animations from
http://www.happytreefriends.com/ in parallel)).
Really should be a carefully sanitized separate process for security. There's
no reason to assume plugins are benign.
Reporter | ||
Comment 2•21 years ago
|
||
Running NS4.x-style plugins in a seperate process may be possible, but running
plugins which use the new XPCOM-based Mozilla API in a seperate process would be
a horrible pain since _EVERYTHING_ the plugin accesses would have to be
transferred between the two processes (I am not even sure whether the new plugin
API actually allows this... please anyone correct me if I am wrong...).
Comment 3•21 years ago
|
||
closely related to bug 156493
Reporter | ||
Updated•21 years ago
|
Whiteboard: Please file a seperate bug for plugins-in-seperate-process, this discussion is about plugin-in-seperate-thread!
Comment 4•21 years ago
|
||
Roland, concerning your Whiteboard entry:
1) there already is a bug about separate processes, so I see no point in asking
people to file another one.
2) when I said "related", I meant it (not dup, or I had said it). I don't know
how close the relationship is, though, but I guess there is one...
Updated•21 years ago
|
Whiteboard: Please file a seperate bug for plugins-in-seperate-process, this discussion is about plugin-in-seperate-thread! → bug 156493 is for plugins-in-seperate-process, this discussion is about plugin-in-seperate-thread!
Updated•21 years ago
|
Summary: RFE: Run plugins in a seperate thread → RFE: Run plugins in a separate thread
![]() |
||
Comment 5•20 years ago
|
||
*** Bug 269679 has been marked as a duplicate of this bug. ***
Comment 7•19 years ago
|
||
Are our XPCOM services, by defintion, thread-safe?
Comment 8•18 years ago
|
||
*** Bug 240852 has been marked as a duplicate of this bug. ***
Comment 10•18 years ago
|
||
(In reply to comment #7)
on average they are not and most be accessed using a proxy.
Comment 11•18 years ago
|
||
erm, must :(
Comment 12•16 years ago
|
||
Better to go for a separate process and get better protection; a thread might sole responsiveness, but would not solve other problems like crashes.
That's bug 156493
Updated•16 years ago
|
Assignee: peterlubczynski-bugs → nobody
QA Contact: plugins
Updated•14 years ago
|
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → WONTFIX
Updated•3 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•