The nsIWebNavigationInfo interface exposes a way to get information on the capabilities of Gecko webnavigation objects.
This interface is implemented by the following components:
PRUint32 isTypeSupported ( ACString type , nsIWebNavigation webNav )
Query whether type is supported.
- type: the MIME type in question.
- webNav: 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 webNav 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.
- an enum value indicating whether and how aType is supported.
Reference documentation is generated from Mozilla's source.