DOMApplicationCache

Module:
offline
Declared In:

Overview

Use the links in the table of contents to the left to access the documentation.



Functions

add
addEventListener
dispatchEvent
hasItem
remove
removeEventListener
swapCache
update

add


void add(
    in DOMString uri) raises(DOMException); 


addEventListener


void addEventListener(
    in DOMString type, 
    in EventListener listener, 
    in boolean useCapture); 


dispatchEvent


boolean dispatchEvent(
    in Event evt) raises(EventException); 


hasItem


boolean hasItem(
    in DOMString url) raises(DOMException); 


remove


void remove(
    in DOMString uri) raises(DOMException); 


removeEventListener


void removeEventListener(
    in DOMString type, 
    in EventListener listener, 
    in boolean useCapture); 


swapCache


void swapCache() raises(DOMException); 


update


void update() raises(DOMException); 

Member Data

CHECKING
DOWNLOADING
IDLE
items
OBSOLETE
oncached
onchecking
ondownloading
onerror
onnoupdate
onobsolete
onprogress
onupdateready
status
UNCACHED
UPDATEREADY

CHECKING


const unsigned short CHECKING = 2; 


DOWNLOADING


const unsigned short DOWNLOADING = 3; 


IDLE


const unsigned short IDLE = 1; 


items


readonly attribute DOMStringList items; 


OBSOLETE


const unsigned short OBSOLETE = 5; 


oncached


attribute EventListener oncached; 


onchecking


attribute EventListener onchecking; 


ondownloading


attribute EventListener ondownloading; 


onerror


attribute EventListener onerror; 


onnoupdate


attribute EventListener onnoupdate; 


onobsolete


attribute EventListener onobsolete; 


onprogress


attribute EventListener onprogress; 


onupdateready


attribute EventListener onupdateready; 


status


readonly attribute unsigned short status; 


UNCACHED


const unsigned short UNCACHED = 0; 


UPDATEREADY


const unsigned short UPDATEREADY = 4; 

 

Last Updated: 2009-05-29