This interface represents a content node that loads objects.
[scriptable, uuid(90ab443e-3e99-405e-88c9-9c42adaa3217)]
Constants
Attributes
The actual mime type (the one we got back from the network request) for the element.
Gets the type of the content that's currently loaded. See the constants above for the list of possible values.
Returns the plugin instance if it has already been instantiated. This will never instantiate the plugin and so is safe to call even when content script must not execute.
Methods
Makes sure that a frame for this object exists, and that the plugin is instantiated. This method does nothing if the type is not #TYPE_PLUGIN. There is no guarantee that there will be a frame after this method is called; for example, the node may have a display:none style. If plugin instantiation is possible, it will be done synchronously by this method, and the plugin instance will be returned. A success return value does not necessarily mean that the instance is nonnull. This is a noscript method because it is internal and will go away once plugin loading moves to content. @note If there is an error instantiating the plugin, this method will trigger fallback to replacement content, and the type will change (and this method will return a failure code)
Gets the content type that corresponds to the give MIME type. See the constants above for the list of possible values. If nothing else fits, TYPE_NULL will be returned.
