Closed
Bug 560934
Opened 16 years ago
Closed 9 years ago
verify that acceptable event and drawing models were negotiated by plugins
Categories
(Core Graveyard :: Plug-ins, defect)
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: jaas, Unassigned)
References
()
Details
We should verify that acceptable event and drawing models were negotiated by plugins, and if not, destroy the instance gracefully.
For example - if a 32-bit Mac OS X plugin that is out-of-process tries to negotiate the Carbon event model, which we don't support out-of-process, we need to stop the instance gracefully. We should check the drawing model immediately after NPP_New returns.
See:
https://bugzilla.mozilla.org/show_bug.cgi?id=559441#c16
Comment 1•16 years ago
|
||
I discussed this bug with Josh on IRC and we aren't concerned about doing all the error checking for the plug-in. What we need to watch out for however is that on 32-bit the default, if nothing is negotiated, is Carbon/Quickdraw on 32-bit. If the plug-in hasn't negotiated something then our contract is Carbon/Quickdraw which we cannot provide OOP so we should handle this gracefully.
From https://wiki.mozilla.org/NPAPI:Models#Per-platform_Default_Models:
32-bit
* Event model: Carbon, NPEventModelCarbon
* Drawing model: Quickdraw, NPDrawingModelQuickDraw
64-bit
* Event model: Cocoa, NPEventModelCocoa
* Drawing model: Core Graphics, NPDrawingModelCoreGraphics
Comment 2•9 years ago
|
||
Resolving old bugs which are likely not relevant any more, since NPAPI plugins are deprecated.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → INCOMPLETE
Updated•4 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•