Readonly
baseURIReadonly
cacheThe cache key. Unlike in nsISHEntry, where it's wrapped in an nsISupportsPRUint32, this is just the integer.
Readonly
characterReadonly
contentReadonly
contentReadonly
cookieReadonly
documentURIReadonly
isReadonly
isThis attribute is set by nsIWebBrowserPersist implementations to propagate persist flags that apply to the DOM traversal and serialization (rather than to managing file I/O).
Readonly
postReadonly
principalReadonly
referrerReadonly
titleOptional
aInstancePtr: objectA run time mechanism for interface discovery.
NS_OK if the interface is supported by the associated instance, NS_NOINTERFACE if it is not.
aInstancePtr must not be null.
[in] A requested interface IID
[out] A pointer to an interface pointer to receive the result.
Walk the DOM searching for external resources needed to render it. The visitor callbacks may be called either before or after readResources returns.
nsIWebBrowserPersistResourceVisitor
Serialize the document's DOM.
nsIDocumentEncoder
The output stream to write the document to.
Optional; specifies URI rewriting to perform on external references (as read by readResources). If given, also causes relative hyperlinks to be converted to absolute in the written text.
The desired MIME type to save the document as; optional and defaults to the document's type. (If no encoder exists for that type, "text/html" is used instead.)
Flags to pass to the encoder.
Desired text width, ignored if wrapping is not specified by the encoding flags, or if 0.
Callback invoked when writing is complete. It may be called either before or after writeContent returns.
Generated using TypeDoc
Interface representing a document that can be serialized with nsIWebBrowserPersist; it may or may not be in this process. Some information is exposed as attributes, which may or may not reflect changes made to the underlying document; most of these are self-explanatory from their names and types.