[Pkg-mozext-commits] [itsalltext] 382/459: Removed the deleteTemporaryFileOnExit() call

David Prévot taffit at moszumanska.debian.org
Tue Feb 24 23:26:40 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository itsalltext.

commit d1ada0cd489e422fe4736648a26cedcf3b6b8333
Author: Christian Höltje <docwhat at gerf.org>
Date:   Sat Aug 13 21:09:11 2011 -0400

    Removed the deleteTemporaryFileOnExit() call
    
    I think having files around after Firefox restarts can
    be helpful.
    
    In addition, I've had reports that after a crash that files
    are gone...so it looks like Firefox is cleaning up on startup or
    manages to delete them when it crashes.
---
 src/chrome/content/cacheobj.js | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/chrome/content/cacheobj.js b/src/chrome/content/cacheobj.js
index f69531e..5fcb2df 100644
--- a/src/chrome/content/cacheobj.js
+++ b/src/chrome/content/cacheobj.js
@@ -318,10 +318,6 @@ CacheObj.prototype.write = function (clobber) {
         this.timestamp = this.size = null; // force refresh of textarea
     }
 
-    /* Register the file to be deleted on app exit. */
-    Components.classes["@mozilla.org/uriloader/external-helper-app-service;1"].
-        getService(Components.interfaces.nsPIExternalAppLauncher).
-        deleteTemporaryFileOnExit(this.file);
     return this.file.path;
 };
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/itsalltext.git



More information about the Pkg-mozext-commits mailing list