mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 726529 - remove app cache refresh handling from b2g chrome code (r=me, npotb)
This commit is contained in:
parent
498817c24d
commit
92a944c843
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user