Closed Bug 75857 Opened 24 years ago Closed 14 years ago

Need a nsDirectoryService value for temporary internet files

Categories

(Core :: XPCOM, defect)

x86
Windows NT
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: mscott, Unassigned)

Details

(Whiteboard: WONTFIX?)

Attachments

(1 file)

I just thought about this and thought it might be pretty easy for me to do. On windows, we currently store temporary internet files (for instance the temp files we generate for helper app content) in the user's temporary directory. I think we should leverage window's notion of a temporary internet folder. All I need to do is add a new directory service type for windows say: nsDirectoryService::sTemporaryInternetDirectory. I did some digging on some msdn pages and discovered that the CSIDL for the temporary internet folder is: CSIDL_INTERNET_CACHE. I think I just need to do the following: 1) Add this new field to the nsDirectoryService 2) Add the implementation over in nsSpecialSystemDirectory. There's a routine there called GetWindowsFolder which takes my CSIDL value for this and gives me the path to the temporary internet files folder. I think that's it. Am I missing something guys?
I don't know why I filed this under XP --> Misc. That really doesn't make sense. Browser General makes more sense.
Status: NEW → ASSIGNED
Component: XP Miscellany → Browser-General
Is this bug still a real problem? There was no action since 04-2001, maybe we can implement Scott's proposes patch or just close this bug?
Product: Browser → Seamonkey
Scott, Are you still working on this ?
Assignee: mscott → nobody
Status: ASSIGNED → NEW
Component: General → XPCOM
Product: SeaMonkey → Core
QA Contact: brendan → xpcom
Whiteboard: WONTFIX?
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: