mozilla

Compare Revisions

nsIWebBrowserPersist

Change Revisions

Revision 95169:

Revision 95169 by hle.ogr on

Revision 95170:

Revision 95170 by Wjjohnst on

Title:
nsIWebBrowserPersist
nsIWebBrowserPersist
Slug:
XPCOM_Interface_Reference/nsIWebBrowserPersist
XPCOM_Interface_Reference/nsIWebBrowserPersist
Tags:
XPCOM, Interfaces, Interfaces:Scriptable, needsattention, "XPCOM API Reference", "XPCOM Interface Reference"
XPCOM, Interfaces, Interfaces:Scriptable, needsattention, "XPCOM API Reference", "XPCOM Interface Reference"
Content:

Revision 95169
Revision 95170
n117    <h2 name="Properties">n117    <h2>
118      Properties118      Attributes
n120    <p>n120    <table class="standard-table">
121      <tbody>
122        <tr>
123          <td class="header">
124            Attribute
125          </td>
126          <td class="header">
127            Type
128          </td>
129          <td class="header">
130            Description
131          </td>
132        </tr>
133        <tr>
134          <td>
135            <code>currentState</code>
136          </td>
137          <td>
121      readonly <a class="internal" href="/en/PRUint32" title="en/138            <code><a class="internal" href="/en/PRUint32" title="
>PRUint32">PRUint32</a> currentState>en/PRUint32">PRUint32</a></code>
122    </p>139          </td>
123    <p>140          <td>
124      Current state of the persister object.141            readonly: Current state of the persister object.
125    </p>142          </td>
126    <p>143        </tr>
144        <tr>
145          <td>
146            <code>persistFlags</code>
147          </td>
148          <td>
127      <a class="internal" href="/en/PRUint32" title="en/PRUint32"149            <code><a class="internal" href="/en/PRUint32" title="
>>PRUint32</a> persistFlags>en/PRUint32">PRUint32</a></code>
128    </p>150          </td>
129    <p>151          <td>
130      Flags governing how data is fetched and saved from the netw152            Flags governing how data is fetched and saved from th
>ork. It is best to set this value explicitly unless you are prepa>e network. It is best to set this value explicitly unless you are
>red to accept the default values.> prepared to accept the default values.
131    </p>153          </td>
132    <p>154        </tr>
155        <tr>
156          <td>
157            <code>progressListener</code>
158          </td>
159          <td>
133      <a class="internal" href="/en/nsIWebProgressListener" title160            <code><a class="internal" href="/en/XPCOM_Interface_R
>="en/nsIWebProgressListener">nsIWebProgressListener</a> progressL>eference/nsIWebProgressListener" title="en/nsIWebProgressListener
>istener>">nsIWebProgressListener</a></code>
134    </p>161          </td>
135    <p>162          <td>
136      Callback listener for progress notifications. The object th163            Callback listener for progress notifications. The obj
>at the embbedder supplies may also implement <code><a class="inte>ect that the embbedder supplies may also implement <code><a class
>rnal" href="/en/nsIInterfaceRequestor" title="en/nsIInterfaceRequ>="internal" href="/en/XPCOM_Interface_Reference/nsIInterfaceReque
>estor">nsIInterfaceRequestor</a></code> and be prepared to return>stor" title="en/nsIInterfaceRequestor">nsIInterfaceRequestor</a><
> <code><a class="internal" href="/en/nsIAuthPrompt" title="en/nsI>/code> and be prepared to return <code><a class="internal" href="
>AuthPrompt">nsIAuthPrompt</a></code> or other interfaces that may>/en/XPCOM_Interface_Reference/nsIAuthPrompt" title="en/nsIAuthPro
> be required to download data.>mpt">nsIAuthPrompt</a></code> or other interfaces that may be req
 >uired to download data.
137    </p>164          </td>
138    <p>165        </tr>
166        <tr>
167          <td>
168            <code>result</code>
169          </td>
170          <td>
139      readonly <a class="internal" href="/en/PRUint32" title="en/171            <code><a class="internal" href="/en/PRUint32" title="
>PRUint32">PRUint32</a> result>en/PRUint32">PRUint32</a></code>
140    </p>172          </td>
141    <p>173          <td>
142      Value indicating the success or failure of the persist oper174            readonly: Value indicating the success or failure of 
>ation.<br>>the persist operation.
143      Returns:<br>175          </td>
144      &nbsp;&nbsp;NS_OK: Operation was successful or still ongoin176        </tr>
>g.<br> 
145      &nbsp;&nbsp;NS_BINDING_ABORTED: Operation cancelled.<br>177      </tbody>
146      &nbsp;&nbsp;NS_ERROR_FAILURE: Non-specific failure.178    </table>
147    </p>
t347      <a href="/en/nsICancelable" title="en/nsICancelable">nsICant378      <a href="/en/XPCOM_Interface_Reference/nsICancelable" title
>celable</a>>="en/nsICancelable">nsICancelable</a>
348    </p>
349    <p>
350      &nbsp;

Back to History