Open Bug 1566240 Opened 3 months ago Updated 3 months ago

Document REG_MULTI_SZ and REG_EXPAND_SZ support in nsIWindowsRegKey

Categories

(Core :: XPCOM, task, minor)

66 Branch
All
Unspecified
task
Not set
minor

Tracking

()

People

(Reporter: agashlin, Unassigned)

References

Details

REG_MULTI_SZ and REG_EXPAND_SZ were allowed to be read by readStringValue() since the beginning.

In bug 634819 support was added for expanding REG_EXPAND_SZ registry values.

But the IDL says "this interface does not support the REG_MULTI_SZ and REG_EXPAND_SZ value types", and it doesn't provide those constants.

Writing these types is still not supported, and REG_MULTI_SZ is still in a somewhat tricky form (it's better handled through WindowsRegistry's readRegKey()), so it isn't as simple as removing that comment, though.

I'm wondering if we'll want to rename .STRING to something else?

https://searchfox.org/mozilla-central/source/xpcom/ds/nsIWindowsRegKey.idl#72

It's too generic.

You need to log in before you can comment on or make changes to this bug.