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
Родитель 75c9e37247
Коммит 83b5172cc1
1 изменённых файлов: 0 добавлений и 15 удалений

Просмотреть файл

@ -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;