Re: Proposal for serializing NPAPI across processes
Chris Jones <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.dom |
|---|---|
| Message-ID | <[email protected]> |
Mike Shaver wrote: > On Mon, Aug 17, 2009 at 9:47 PM, Chris Jones<[email protected]> wrote: >> Putting plugins in a separate process breaks the current NPAPI threading >> model. The reason is that a plugin can register callbacks into a native >> event loop in its subprocess. > > You might ask the WebKit guys how they approached this for separating > Flash from Safari in a separate process in the most recent Safari > releases. It would be nice if there were only a single distorted > threading model for plugin authors to work with. :-) > ISTR Josh saying there's no such thing as a native event loop of a child window on OS X. These pages seem to agree https://wiki.mozilla.org/Mac:NPAPI_Event_Models https://wiki.mozilla.org/Mac:NPAPI_Drawing_Models If that's indeed the case, then I don't believe Webkit on Safari faced this problem. I'll still follow up with them tomorrow, though. Cheers, Chris