Linux Mac OSX Windows

Implemented by


  
[scriptable, uuid(69efc430-2efe-11d2-9e5d-006008bf092e)]
interface nsIRefreshURI : nsISupports

Methods

 Cancels all timer loads.
void cancelRefreshURITimers()
 Load a uri after waiting for aMillis milliseconds. If the docshell
 is busy loading a page currently, the refresh request will be
 queued and executed when the current load finishes. 

 @param aUri The uri to refresh.
 @param aMillis The number of milliseconds to wait.
 @param aRepeat Flag to indicate if the uri is to be 
                repeatedly refreshed every aMillis milliseconds.
 @parem aMetaRefresh Flag to indicate if this is a Meta refresh.
void refreshURI(in nsIURI aURI, in long aMillis, in boolean aRepeat, in boolean aMetaRefresh)
 Checks the passed in channel to see if there is a refresh header, 
 if there is, will setup a timer to refresh the uri found
 in the header. If docshell is busy loading a page currently, the
 request will be queued and executed when the current page 
 finishes loading. 

 @param aChannel The channel to be parsed. 
void setupRefreshURI(in nsIChannel aChannel)
 Parses the passed in header string and sets up a refreshURI if
 a "refresh" header is found. If docshell is busy loading a page 
 currently, the request will be queued and executed when 
 the current page finishes loading. 

 @param aBaseURI base URI to resolve refresh uri with.
 @param aHeader  The meta refresh header string.
void setupRefreshURIFromHeader(in nsIURI aBaseURI, in ACString aHeader)