Open Bug 1566240 Opened 5 years ago Updated 2 years ago

Document REG_MULTI_SZ and REG_EXPAND_SZ support in nsIWindowsRegKey

Categories

(Core :: XPCOM, task)

66 Branch
All
Unspecified
task

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.

Severity: minor → S4
You need to log in before you can comment on or make changes to this bug.