WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

nsIWebNavigationInfo

IID:62a93afb-93a1-465c-84c8-0432264229de
Inherits From:nsISupports
Status:UNDER_REVIEW

The nsIWebNavigationInfo interface exposes a way to get information on the capabilities of Gecko webnavigation objects.

This interface is implemented by the following components:


Constants

Returned by isTypeSupported to indicate lack of support for a type.
PRUint32 UNSUPPORTED = 0
Returned by isTypeSupported to indicate that a type is supported as an image.
PRUint32 IMAGE = 1
Returned by isTypeSupported to indicate that a type is supported via an NPAPI ("Netscape 4 API") plug-in. This is not the value returned for "XPCOM plug-ins".
PRUint32 PLUGIN = 2
Returned by isTypeSupported to indicate that a type is supported via some other means.
PRUint32 OTHER = 32768

Methods

PRUint32 isTypeSupported ( ACString type , nsIWebNavigation webNav )

PRUint32 isTypeSupported ( ACString type , nsIWebNavigation webNav )

Query whether type is supported.

Arguments:
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.
Returns:
an enum value indicating whether and how aType is supported.

Reference documentation is generated from Mozilla's source.