Closed Bug 27159 Opened 25 years ago Closed 23 years ago

Expose nsIPref's "EnumerateChildren" method to javascript so I can hook up a security pref panel...

Categories

(Core :: Preferences: Backend, defect, P3)

All
Windows 98
defect

Tracking

()

VERIFIED FIXED
mozilla0.9.1

People

(Reporter: bugs, Assigned: bnesse)

References

Details

nsIPref's "EnumerateChildren" method is described as "[noscript]" in 
nsIPref.idl. I'd like it if I could access this method (or a version of it) from 
JavaScript so I can read all user defined security zones and present them in a 
UI. Currently there is no other method that I am aware of to do this.
I've had this on my to-do list, but it's better to have a bug for it.
Status: NEW → ASSIGNED
Target Milestone: M15
Blocks: 27012
Moving all libPref component bugs to new Preferences: Backend component.  
libPref component will be deleted.
Component: libPref → Preferences: Backend
Moving to M16 since Norris is out this week, and we need to branch for M15
Target Milestone: M15 → M16
I don't think we'll have time to do this for beta2.
Target Milestone: M16 → M20
Bulk reassigning most of norris's bugs to mstoltz.
Assignee: norris → mstoltz
Status: ASSIGNED → NEW
I'll probably get to this post-Beta2.
Status: NEW → ASSIGNED
Reassign to prefs.
Assignee: mstoltz → neeti
Status: ASSIGNED → NEW
Reassigning libpref bugs to dveditz
Assignee: neeti → dveditz
h'm, am wondering if this would also block bug 38966. if not, feel free to 
remove the dependency, do lemme know why.
Blocks: BlockJS
*** Bug 27012 has been marked as a duplicate of this bug. ***
Bulk assigning bugs covered by the rewrite of nsPrefs to myself.
Assignee: dveditz → bnesse
Bulk updating some fields and accepting
Status: NEW → ASSIGNED
Keywords: nsbeta1
Hardware: PC → All
Target Milestone: --- → mozilla0.9
The scriptable method GetChildList has been added to nsIPrefBranch as part of the 
work being done as part of bug 46863. For that reason, I am marking this as a 
duplicate of 46863. If you feel this is in error, feel free to change it back.


*** This bug has been marked as a duplicate of 46863 ***
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
alecf has requested that I not dupe all these bugs, but rather close them as 
fixed after the work in bug 46863 has landed. Changing again...
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Target Milestone: mozilla0.9 → mozilla0.9.1
This was done as part of the preferences API refactoring. The JavaScript ready
method in PrefBranch is GetChildList().
Status: REOPENED → RESOLVED
Closed: 23 years ago23 years ago
Resolution: --- → FIXED
okay, rubberstamp.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.