Closed Bug 183897 Opened 22 years ago Closed 17 years ago

Implement [nsIProperties.getKeys] for "@mozilla.org/file/directory_service;1"

Categories

(Core :: XPCOM, enhancement)

x86
Windows 2000
enhancement
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: timeless, Assigned: timeless)

Details

I use xpcshell to do my analysis of stuff and this feature would help me.

*** This bug has been marked as a duplicate of 183895 ***
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
sorry that was supposed to be some other provider
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
QA Contact: scc → xpcom
nsDirectoryService.cpp contains:
541 NS_IMETHODIMP
542 nsDirectoryService::GetKeys(PRUint32 *count, char ***keys)
543 {
544     return NS_ERROR_NOT_IMPLEMENTED;
545 }

Just implementing what a nsIProperties::GetKeys should do: returning the list of current set keys should not be hard...
The list of keys that the directory service can respond to is infinitely large, and it doesn't know what these are except by asking the providers. There isn't a good way to ask the providers to list all the keys they may respond to.
Status: REOPENED → RESOLVED
Closed: 22 years ago17 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.