>From Javascript I've tried to use deleteTemporaryFileOnExit but it doesn't
>delete files at shutdown time.
My code is shown below:
const externalAppLauncher =
Components.classes["@mozilla.org/uriloader/external-helper-app-service;1"].
getService(Components.interfaces.nsPIExternalAppLauncher);
externalAppLauncher.deleteTemporaryFileOnExit(file);
If I intentionally pass to deleteTemporaryFileOnExit an invalid parameter (e.g.
a string) I receive
an error, so I'm sure the function is implemented but at shutdown time the
added files remain on disk.
Where is my error?
many thanks in advance,
davide (ViewSourceWith's author)
_______________________________________________
Mozilla-xpcom mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-xpcom