The nsIPluginInstancePeer2 interface extends the nsIPluginInstancePeer interface, providing access to functionality provided by newer browsers. All functionality in nsIPluginInstancePeer can be mapped to the 4.X plugin API.
[uuid(79a2d210-55e4-4687-bd87-64b10c2466cc)]
interface nsIPluginInstancePeer2 : nsIPluginInstancePeer
Attributes
Get the JavaScript context to this plugin instance. @param aJSContext - the resulting JavaScript context @result - NS_OK if this operation was successful
readonly attribute
JSContextPtr
JSContext
Get the JavaScript execution thread corresponding to this plugin instance. @param aJSThread - the resulting JavaScript thread id @result - NS_OK if this operation was successful
readonly attribute
unsigned long
JSThread
Get the JavaScript window object corresponding to this plugin instance. @param aJSWindow - the resulting JavaScript window object @result - NS_OK if this operation was successful
readonly attribute
JSObjectPtr
JSWindow
Methods
Drop our reference to our owner.
void
invalidateOwner()
Compare to: