Bug 726529 - remove app cache refresh handling from b2g chrome code (r=me, npotb)

This commit is contained in:
Andreas Gal 2012-02-12 23:22:09 -08:00
parent 498817c24d
commit 92a944c843

View File

@ -75,21 +75,6 @@ XPCOMUtils.defineLazyGetter(Services, 'fm', function() {
webProgress.addProgressListener(progressListener, flags);
})();
// WebApps - Application Cache
function updateApplicationCache(window) {
try {
var cache = window.applicationCache;
cache.update();
cache.addEventListener('updateready', function updateReady(evt) {
// XXX Add a nice UI when an update is ready asking if the user
// want to reload the application now.
cache.swapCache();
window.document.location.reload();
});
} catch (e) {}
}
// MozKeyboard
(function VirtualKeyboardManager() {
let activeElement = null;