Open
Bug 1856567
Opened 1 year ago
Updated 1 year ago
List nsIDirectoryServiceProvider[2] in components.conf for directory service
Categories
(Core :: XPCOM, enhancement)
Core
XPCOM
Tracking
()
NEW
People
(Reporter: Gijs, Unassigned)
Details
This would add it to the services JS linter and therefore make people use Services.dirsvc
in more places.
I'm not aware of any other side effects but... we'll see? :-)
Reporter | ||
Comment 1•1 year ago
|
||
To be clear, that's updating the interfaces
bit at https://searchfox.org/mozilla-central/rev/37d9d6f0a77147292a87ab2d7f5906a62644f455/xpcom/io/components.conf#9-15 .
Comment 2•1 year ago
|
||
This seems reasonable and I don't think it'll have significant consequences. We'll just create the XPCWrappedJS with the extra methods from that new interface more eagerly when accessing it through the services getter. We might even want to expose nsIDirectoryServiceProvider2
, if that's useful (though perhaps the interfaces could just be merged).
Type: defect → enhancement
You need to log in
before you can comment on or make changes to this bug.
Description
•