Back to index
|unsigned long||isTypeSupported (in ACString aType, in nsIWebNavigation aWebNav)|
|Query whether aType is supported. |
|const unsigned long||UNSUPPORTED = 0|
|Returned by isTypeSupported to indicate lack of support for a type. |
|const unsigned long||IMAGE = 1|
|Returned by isTypeSupported to indicate that a type is supported as an image. |
|const unsigned long||PLUGIN = 2|
|Returned by isTypeSupported to indicate that a type is supported via an NPAPI ("Netscape 4 API") plug-in. |
|const unsigned long||OTHER = 1 << 15|
|Returned by isTypeSupported to indicate that a type is supported via some other means. |
The nsIWebNavigationInfo interface exposes a way to get information on the capabilities of Gecko webnavigation objects.
|unsigned long nsIWebNavigationInfo::isTypeSupported||(||in ACString||aType,|
Query whether aType is supported.
|aType||the MIME type in question.|
|aWebNav||the nsIWebNavigation object for which the request is being made. This is allowed to be null. If it is non-null, the return value of this method may depend on the exact state of aWebNav and the values set through nsIWebBrowserSetup; otherwise the method will assume that the caller is interested in information about nsIWebNavigation objects in their default state.|