Home | History | Annotate | Download | only in appcache

Lines Matching full:applicationcache

28     applicationCache.oncached = function() { log("FAIL: Unexpected cached event") }
29 applicationCache.onnoupdate = function() { log("FAIL: Unexpected noupdate event") }
30 applicationCache.onupdateready = function() { setTimeout(test2, 0) }
33 setTimeout("applicationCache.update()", 0);
38 log((applicationCache.status == applicationCache.UPDATEREADY) ? "Cache status is UPDATEREADY" : ("FAIL: Incorrect cache status, " + applicationCache.status));
41 applicationCache.onupdateready = function() { setTimeout(test3, 0) }
44 setTimeout("applicationCache.update()", 0);
49 log((applicationCache.status == applicationCache.UPDATEREADY) ? "Cache status is UPDATEREADY" : ("FAIL: Incorrect cache status, " + applicationCache.status));
52 applicationCache.swapCache();
54 log((applicationCache.status == applicationCache.IDLE) ? "Cache status is IDLE" : ("FAIL: Incorrect cache status, " + applicationCache.status));
61 applicationCache.oncached = test;
62 applicationCache.onnoupdate = test;
63 applicationCache.onupdateready = function() { log("FAIL: Unexpected updateready event") }
64 applicationCache.onerror = function() { log("FAIL: Unexpected error event") }
65 applicationCache.onobsolete = function() { log("FAIL: Unexpected obsolete event") }