It seems Pale Moon doesn't have these two functions.
Is it possible to have them in a future release?
nsIPrefBranch getStringPref/setStringPref
Forum rules
Please keep everything here strictly on-topic.
This board is meant for Pale Moon source code development related subjects only like code snippets, patches, specific bugs, git, the repositories, etc.
This is not for tech support! Please do not post tech support questions in the "Development" board!
Please make sure not to use this board for support questions. Please post issues with specific websites, extensions, etc. in the relevant boards for those topics.
Please keep things on-topic as this forum will be used for reference for Pale Moon development. Expect topics that aren't relevant as such to be moved or deleted.
Please keep everything here strictly on-topic.
This board is meant for Pale Moon source code development related subjects only like code snippets, patches, specific bugs, git, the repositories, etc.
This is not for tech support! Please do not post tech support questions in the "Development" board!
Please make sure not to use this board for support questions. Please post issues with specific websites, extensions, etc. in the relevant boards for those topics.
Please keep things on-topic as this forum will be used for reference for Pale Moon development. Expect topics that aren't relevant as such to be moved or deleted.
Re: nsIPrefBranch getStringPref/setStringPref
These methods were introduced in Gecko 55, but there are getComplexValue/setComplexValue that allow to achieve the same result.
Last edited by JustOff on 2018-10-31, 17:03, edited 1 time in total.
Re: nsIPrefBranch getStringPref/setStringPref
Since they bothered to add those methods I thought they did something different than ComplexType, but I guess it's just for convenience then?
(Of course in the case that ComplexType is called with nsISupportString as type, not in the general case.)
(Of course in the case that ComplexType is called with nsISupportString as type, not in the general case.)
Last edited by vannilla on 2018-10-31, 21:25, edited 1 time in total.
Re: nsIPrefBranch getStringPref/setStringPref
The new functions should do the same job a little faster, but I don't think the effect is significant.