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

RESOLVED WONTFIX

Status

()

Core
XPCOM
--
enhancement
RESOLVED WONTFIX
15 years ago
11 years ago

People

(Reporter: timeless, Assigned: timeless)

Tracking

Trunk
x86
Windows 2000
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Assignee)

Description

15 years ago
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
Last Resolved: 15 years ago
Resolution: --- → DUPLICATE
(Assignee)

Comment 2

15 years ago
sorry that was supposed to be some other provider
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
QA Contact: scc → xpcom

Comment 3

11 years ago
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...

Comment 4

11 years ago
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
Last Resolved: 15 years ago11 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.