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.
nsIWebPageDescriptor
| IID: | 6f30b676-3710-4c2c-80b1-0395fb26516e |
| Inherits From: | nsISupports |
| Status: | UNDER_REVIEW |
The nsIWebPageDescriptor interface allows content being displayed in one window to be loaded into another window without refetching it from the network.
This interface is implemented by the following components:
Constants
| PRUint32 | DISPLAY_AS_SOURCE | = 1 |
| PRUint32 | DISPLAY_NORMAL | = 2 |
Properties
readonly nsISupports currentDescriptor
Retrieves the page descriptor for the curent document.
Methods
void loadPage ( nsISupports pageDescriptor , PRUint32 displayType )
void loadPage ( nsISupports pageDescriptor , PRUint32 displayType )
Tells the object to load the page specified by the page descriptor
- Arguments:
- pageDescriptor
- displayType
- Returns:
- NS_OK - NS_ERROR_FAILURE -
Reference documentation is generated from Mozilla's source.
